From 334d823b2bd3e02ee44015452ec1ab375ef86b03 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 1 Jun 2016 10:10:39 +0200 Subject: Depsgraph: Fix missing updates when modifying armature --- source/blender/depsgraph/intern/nodes/deg_node_component.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source') 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() -- cgit v1.2.3