Depsgraph: Fix bug with broken tweak of animated node tree settings

With single editing context we can have expected and correct evaluation order
of animation and material update.
This commit is contained in:
Sergey Sharybin 2018-06-05 15:10:09 +02:00
parent 2891fb645b
commit b6d920bbd5
1 changed files with 1 additions and 1 deletions

View File

@ -1952,7 +1952,7 @@ void DepsgraphRelationBuilder::build_nodetree(bNodeTree *ntree)
if (check_id_has_anim_component(&ntree->id)) {
ComponentKey animation_key(&ntree->id, DEG_NODE_TYPE_ANIMATION);
add_relation(shading_parameters_key, animation_key, "NTree Shading Parameters");
add_relation(animation_key, shading_parameters_key, "NTree Shading Parameters");
}
}