Fix T42258: Drivers: dimensions.x is always invalid, but dimensions[0] works
'PROP_XYZ_LENGTH' subtype was missing from list of valid '.x/y/z/w' ones.
This commit is contained in:
@@ -903,7 +903,7 @@ int RNA_property_array_item_index(PropertyRNA *prop, char name)
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
else if (ELEM(subtype, PROP_TRANSLATION, PROP_DIRECTION, PROP_XYZ,
|
||||
else if (ELEM(subtype, PROP_TRANSLATION, PROP_DIRECTION, PROP_XYZ, PROP_XYZ_LENGTH,
|
||||
PROP_EULER, PROP_VELOCITY, PROP_ACCELERATION))
|
||||
{
|
||||
switch (name) {
|
||||
|
||||
Reference in New Issue
Block a user