Fix T61636: Drivers don't update on viewport using curves

This commit is contained in:
2019-02-18 16:35:56 +01:00
parent 582ae0c122
commit abb147e609

View File

@@ -322,6 +322,11 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(
node_identifier.type = NodeType::GEOMETRY;
return node_identifier;
}
else if (ELEM(ptr->type, &RNA_BezierSplinePoint, &RNA_SplinePoint)) {
node_identifier.id = (ID *)ptr->id.data;
node_identifier.type = NodeType::GEOMETRY;
return node_identifier;
}
if (prop != NULL) {
/* All unknown data effectively falls under "parameter evaluation". */
if (RNA_property_is_idprop(prop)) {