changeset 1789:d8ae388a8076

autodeps: try pruning some unrelated patches Ignore-this: 5382b18ab437706b00ecc9dad6c08f0
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 07 Jun 2018 17:42:36 +0000
parents 8b9b8584ee42
children 959371c3fa15
files light9/web/graph.coffee
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/graph.coffee	Thu Jun 07 17:40:29 2018 +0000
+++ b/light9/web/graph.coffee	Thu Jun 07 17:42:36 2018 +0000
@@ -119,9 +119,10 @@
     rerunInners = (cur) =>
       toRun = cur.innerHandlers.slice()
       for child in toRun
-        #match = @_handlerIsAffected(child, allPatchSubjs)
+        match = @_handlerIsAffected(child, subjs)
+        continue if not match
         #log('match', child.label, match)
-        #child.innerHandlers = [] # let all children get called again
+        child.innerHandlers = [] # let all children get called again
         
         @_rerunHandler(child, patch)
         rerunInners(child)