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.
This commit is contained in:
2019-07-01 14:33:49 +02:00
parent e1cb15c5d6
commit 809f81cc3a

View File

@@ -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) {