Commit: d91b6099a603f6406e5a762ea196a8ba8d3cb763
Author: Sergey Sharybin
Date:   Tue Sep 19 20:55:15 2017 +0500
Branches: blender-v2.79a-release
https://developer.blender.org/rBd91b6099a603f6406e5a762ea196a8ba8d3cb763

Depsgraph: Fix wrong flag being assigned

===================================================================

M       source/blender/depsgraph/intern/eval/deg_eval_flush.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc 
b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
index 40f6901de33..0adbadeebba 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
@@ -210,8 +210,8 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
                                }
                        }
 
-                       id_node->done = COMPONENT_STATE_DONE;
-                       comp_node->done = 1;
+                       id_node->done = 1;
+                       comp_node->done = COMPONENT_STATE_DONE;
 
                        /* Flush to nodes along links... */
                        /* TODO(sergey): This is mainly giving speedup due ot 
less queue pushes, which

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to