diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-01 15:33:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-01 15:34:23 +0300 |
commit | 809f81cc3a821cb708b918e84e856cb6ae765e38 (patch) | |
tree | 5d88961cea6c93f93bb4cc4ab52a27d7ada06247 | |
parent | e1cb15c5d6dd4e58c88634a75985c25a7a66dcd7 (diff) |
Fix T66207: Invalid depsgraph relation when driver uses object dimension
Would be nice to find a more proper and generic solution instead of name
based comparison, but can not really think a nice way to go currently.
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_rna.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc index a8d357cd5bd..5bb3ebf40c4 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc @@ -314,6 +314,10 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(const PointerRNA *ptr, node_identifier.type = NodeType::OBJECT_FROM_LAYER; return node_identifier; } + else if (STREQ(prop_identifier, "dimensions")) { + node_identifier.type = NodeType::GEOMETRY; + return node_identifier; + } } } else if (ptr->type == &RNA_ShapeKey) { |