Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-06-08 18:23:23 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-06-12 16:39:11 +0300
commit39e050af407edb9de7058f0128f55d221def0344 (patch)
tree2450e04e765f44c620cc99b1cc6b4b335365cdc8 /source/blender/depsgraph
parent8204261edec6b28e3b990e6e66f7bcd4f6ee1886 (diff)
Fix T55409: Can't animated keyframed material node value after moving keyframe on timeline
Completely ignore animation for legacy zero update tag. If one needs animation to be evaluated, tag with proper update tag, stop relying on direct assignment of adt->>recalc with zero update tag for DEG. This commit might cause missing updates when needed, those needs to be looked into once they happen.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc12
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);
}