Fix T65626: Use Nodes checkbox locks after being checked with "insert keyframe"

Not sure if this is something what is supported by render pipeline, but this report
discovered some actual error in logic.
This commit is contained in:
Sergey Sharybin
2019-06-11 11:56:30 +02:00
parent 6ec3f4a628
commit 10869e2431

View File

@@ -206,6 +206,11 @@ ComponentNode *IDNode::add_component(NodeType type, const char *name)
void IDNode::tag_update(Depsgraph *graph, eUpdateSource source)
{
GHASH_FOREACH_BEGIN (ComponentNode *, comp_node, components) {
/* Relations update does explicit animation update when needed. Here we ignore animation
* component to avoid loss of possible unkeyed changes. */
if (comp_node->type == NodeType::ANIMATION && source == DEG_UPDATE_SOURCE_RELATIONS) {
continue;
}
comp_node->tag_update(graph, source);
}
GHASH_FOREACH_END();