diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-06-01 11:10:39 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2016-06-08 22:45:40 +0300 |
commit | 0db963e3a7c5949a2398cc1afe7e07cf95584e91 (patch) | |
tree | ac1814d25e1621176aa46fb82de2132409de9e7c | |
parent | 807e98bb479dd701338cd2c4c2c0b8094ddd0413 (diff) |
Depsgraph: Fix missing updates when modifying armature
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node_component.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc index c529e2ecfe6..7e49fec051f 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc @@ -230,6 +230,14 @@ void ComponentDepsNode::tag_update(Depsgraph *graph) foreach (OperationDepsNode *op_node, operations) { op_node->tag_update(graph); } + // It is possible that tag happens before finalization. + if (operations_map != NULL) { + GHASH_FOREACH_BEGIN(OperationDepsNode *, op_node, operations_map) + { + op_node->tag_update(graph); + } + GHASH_FOREACH_END(); + } } OperationDepsNode *ComponentDepsNode::get_entry_operation() |