diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-14 14:20:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-15 11:25:26 +0300 |
commit | 5f814cb3b47df9255724e979458e05a42ed40f9a (patch) | |
tree | 68e91b4b179f2365b9b7385f380bd61f75f91a38 /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | 42c53e054f17f98a74785ba20969e1e277b892b0 (diff) |
Depsgraph: Don't tag original IDs
This is unreliable for cases when multiple dependency graphs
are to be updated.
The only reason why it was attempted to be made is to deal
with cases when ID appears in the dependency graph for the
first time. But even then it should be smart enough bring
itself to an up-to-date state without any extra tricks.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 474bbd7b3e9..fd254d6ad3b 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -280,7 +280,6 @@ void depsgraph_tag_component(Depsgraph *graph, ComponentNode *cow_comp = id_node->find_component(NodeType::COPY_ON_WRITE); cow_comp->tag_update(graph, update_source); - id_node->id_orig->recalc |= ID_RECALC_COPY_ON_WRITE; } } @@ -758,7 +757,6 @@ static void deg_graph_clear_id_node_func( DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(data_v); DEG::IDNode *id_node = deg_graph->id_nodes[i]; id_node->id_cow->recalc &= ~ID_RECALC_ALL; - id_node->id_orig->recalc &= ~ID_RECALC_ALL; /* Clear embedded node trees too. */ bNodeTree *ntree_cow = ntreeFromID(id_node->id_cow); |