Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-10-16 18:30:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-21 14:14:25 +0400
commit6a44865d2e46cb74b3ed4399137ce66bb84e3e90 (patch)
treeb8d0a4b88a15011cc8f74565581ac1243b3c7aad
parent73f5a41589e0262e5b7d8a337510ca305c335844 (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.
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
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) {