Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-09-19 18:55:15 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-09-19 18:55:15 +0300
commitb31faac17eaf66e034107f136bb00dd16361a0bf (patch)
tree9aa7c098efd16c62db105fef5a28e2caf02b9e04
parent96ce50449c3060514e28d79d7e488d0d2b16354e (diff)
Depsgraph: Fix wrong flag being assigned
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_flush.cc4
1 files changed, 2 insertions, 2 deletions
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