diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-06-08 18:51:08 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-06-08 18:52:49 +0300 |
commit | f8d7df6f162520ee4da46f54d863c45a2b78cc8c (patch) | |
tree | 6b46df64f700bf129ee1b832b390e28937d22cab /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | f2fd5987d0f592567f1da8d080e5fe38acb12ec8 (diff) |
Depsgraph: Remove no longer needed nodetree values copying on eval
Note: Depsgraph still calls the nodetree eval function that doesn't
nothing in turn. We can remove it, but it is harmless though.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 8ff11ca5fd2..437999a06a9 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -449,17 +449,7 @@ void deg_graph_node_tag_zero(Main *bmain, Depsgraph *graph, IDDepsNode *id_node) GHASH_FOREACH_BEGIN(ComponentDepsNode *, comp_node, id_node->components) { if (comp_node->type == DEG_NODE_TYPE_ANIMATION) { - AnimData *adt = BKE_animdata_from_id(id); - /* NOTE: Animation data might be null if relations are tagged - * for update. - */ - if (adt == NULL || (adt->recalc & ADT_RECALC_ANIM) == 0) { - /* If there is no animation, or animation is not tagged for - * update yet, we don't force animation channel to be evaluated. - */ - continue; - } - id->recalc |= ID_RECALC_ANIMATION; + continue; } comp_node->tag_update(graph); } |