[Bf-blender-cvs] [809f81cc3a8] master: Fix T66207: Invalid depsgraph relation when driver uses object dimension
Sergey Sharybin
noreply at git.blender.org
Mon Jul 1 14:35:01 CEST 2019
Commit: 809f81cc3a821cb708b918e84e856cb6ae765e38
Author: Sergey Sharybin
Date: Mon Jul 1 14:33:49 2019 +0200
Branches: master
https://developer.blender.org/rB809f81cc3a821cb708b918e84e856cb6ae765e38
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.
===================================================================
M source/blender/depsgraph/intern/builder/deg_builder_rna.cc
===================================================================
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) {
More information about the Bf-blender-cvs
mailing list