diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-11 17:16:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-11 17:24:11 +0300 |
commit | 51d161a89efc6325a1fbf5afb39c1bfee00d51cb (patch) | |
tree | cfee567a6064e9551aa5e8357415af27b74f0ee5 /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | 23c14a0bbacf2b7f904905ec94e2d9b1be67f45e (diff) |
Depsgraph: Use proper tag source for special case
Special case of handling update tag of 0 was using wrong update
source, causing unwanted point cache resets on file load.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index adadd9b741d..474bbd7b3e9 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -460,7 +460,7 @@ void deg_graph_node_tag_zero(Main *bmain, if (comp_node->type == NodeType::ANIMATION) { continue; } - comp_node->tag_update(graph, DEG_UPDATE_SOURCE_USER_EDIT); + comp_node->tag_update(graph, update_source); } GHASH_FOREACH_END(); deg_graph_id_tag_legacy_compat( |