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:
parent
73f5a41589
commit
6a44865d2e
Notes:
blender-bot
2023-02-14 09:56:33 +01:00
Referenced by issue #42258, Drivers: `dimensions.x` is always invalid, but `dimensions[0]` works
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue