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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-06-05 16:10:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-06-05 16:11:34 +0300
commitb6d920bbd5ab16d4dfc12f4a9d35b0f522e66e85 (patch)
tree579b8bb8344485b504affc5d58b914fb7a90a4c7 /source
parent2891fb645b95ca45ee5ace1d51221e5b3ea52dae (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index d5ea8103742..e0df724818d 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -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");
}
}