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.
This commit is contained in:
Sergey Sharybin 2019-02-11 15:16:38 +01:00
parent 23c14a0bba
commit 51d161a89e
1 changed files with 1 additions and 1 deletions

View File

@ -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(