[Bf-blender-cvs] [b31faac17ea] master: Depsgraph: Fix wrong flag being assigned

Sergey Sharybin noreply at git.blender.org
Tue Sep 19 17:55:44 CEST 2017


Commit: b31faac17eaf66e034107f136bb00dd16361a0bf
Author: Sergey Sharybin
Date:   Tue Sep 19 20:55:15 2017 +0500
Branches: master
https://developer.blender.org/rBb31faac17eaf66e034107f136bb00dd16361a0bf

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



More information about the Bf-blender-cvs mailing list