diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-10-16 18:30:52 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-10-16 18:30:52 +0400 |
commit | d30abdf3ec28b8e66c86cd37138efc2270375596 (patch) | |
tree | 8388931181f94451e4dfbb6ce4f2f02eef96253c /source/blender/makesrna/intern/rna_access.c | |
parent | 61d14774150662a8cbcf439c7e93959fd3c74834 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 34e78018b03..806b9d0d5ad 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -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) { |