Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / eval / deg_eval_flush.cc
index 60fde1e69ee81c0ad990ecd5fabf9fee84e36802..864d9d9e1ff1b665cd471695921d9e85ea029c0f 100644 (file)
@@ -182,6 +182,9 @@ BLI_INLINE OperationDepsNode *flush_schedule_children(
 {
        OperationDepsNode *result = NULL;
        foreach (DepsRelation *rel, op_node->outlinks) {
+               if (rel->flag & DEPSREL_FLAG_NO_FLUSH) {
+                       continue;
+               }
                OperationDepsNode *to_node = (OperationDepsNode *)rel->to;
                if (to_node->scheduled == false) {
                        if (result != NULL) {