diff options
author | Hans Goudey <h.goudey@me.com> | 2022-02-19 00:17:01 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-02-19 00:17:01 +0300 |
commit | 7f68185d347b01a75836eb7372181a1196f546aa (patch) | |
tree | 935a55de98502bb17fe765bf4db338451333ed22 /source/blender/depsgraph/intern/builder | |
parent | d9d97db018d28f4c1ce7543ba275a9809d56294a (diff) | |
parent | 3cebfadb27eb4056d28211708158f9ad8a7459b7 (diff) |
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source/blender/depsgraph/intern/builder')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index 7006ddc43a8..faad053e30c 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -2363,8 +2363,9 @@ void DepsgraphRelationBuilder::build_light(Light *lamp) /* light's nodetree */ if (lamp->nodetree != nullptr) { build_nodetree(lamp->nodetree); - ComponentKey nodetree_key(&lamp->nodetree->id, NodeType::NTREE_OUTPUT); - add_relation(nodetree_key, shading_key, "NTree->Light Parameters"); + OperationKey ntree_key( + &lamp->nodetree->id, NodeType::NTREE_OUTPUT, OperationCode::NTREE_OUTPUT); + add_relation(ntree_key, shading_key, "NTree->Light Parameters"); build_nested_nodetree(&lamp->id, lamp->nodetree); } } |