diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-13 09:44:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-13 09:44:40 +0300 |
commit | 42c2654d0e77dfe2df0cac04c848d2d3935db139 (patch) | |
tree | 6fbceb0e374bed83921899b2daad46bdae57cb46 /source/blender/makesrna/intern/rna_animation.c | |
parent | ca95a6f4153cbf7b2e0186af7624fd9e79a17d7a (diff) |
Inconsistent use of array_index vs index with animation keyword args.
Settle with 'index' even though the attribute is array_index.
Diffstat (limited to 'source/blender/makesrna/intern/rna_animation.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_animation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c index b690a4f419a..17d2e27c462 100644 --- a/source/blender/makesrna/intern/rna_animation.c +++ b/source/blender/makesrna/intern/rna_animation.c @@ -550,7 +550,8 @@ static void rna_def_keyingset_path(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Data Path", "Path to property setting"); RNA_def_struct_name_property(srna, prop); // XXX this is the best indicator for now... RNA_def_property_update(prop, NC_SCENE|ND_KEYINGSET|NA_EDITED, NULL); - + + /* called 'index' when given as function arg */ prop= RNA_def_property(srna, "array_index", PROP_INT, PROP_NONE); RNA_def_property_ui_text(prop, "RNA Array Index", "Index to the specific setting if applicable"); RNA_def_property_update(prop, NC_SCENE|ND_KEYINGSET|NA_EDITED, NULL); // XXX: maybe a bit too noisy |