diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-11 12:56:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-11 12:56:52 +0300 |
commit | 10869e243162fcd06c06e5a7161a685b38eead54 (patch) | |
tree | 2e3689b15ca582162cae2e88fb4ad2cdecb9a99a /source/blender/depsgraph | |
parent | 6ec3f4a62842d82bd25cbbdd428d2eb9de18b22d (diff) |
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.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/node/deg_node_id.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/node/deg_node_id.cc b/source/blender/depsgraph/intern/node/deg_node_id.cc index 8a7ec927f8c..8dd01050753 100644 --- a/source/blender/depsgraph/intern/node/deg_node_id.cc +++ b/source/blender/depsgraph/intern/node/deg_node_id.cc @@ -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(); |