diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-12-18 10:22:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-12-18 10:22:28 +0300 |
commit | ced396ce6d29979bcd58ff8eff5322653c1a4d6f (patch) | |
tree | 1303e3a1ea514f0402d76f35b18e65ae65dd20aa /source/blender/makesrna/intern/rna_rna.c | |
parent | 96bad930de846de0b13bc59b65e3e4fed41769e9 (diff) |
Use the identifier for struct property access too
struct.properties['pulse_false_level'] instead of struct.properties['Pulse False Level']
Diffstat (limited to 'source/blender/makesrna/intern/rna_rna.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_rna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c index 08f7120bfd5..e287a523de3 100644 --- a/source/blender/makesrna/intern/rna_rna.c +++ b/source/blender/makesrna/intern/rna_rna.c @@ -450,13 +450,13 @@ static void rna_def_property(BlenderRNA *brna) RNA_def_property_flag(prop, PROP_NOT_EDITABLE); RNA_def_property_string_funcs(prop, "rna_Property_name_get", "rna_Property_name_length", NULL); RNA_def_property_ui_text(prop, "Name", "Human readable name."); - RNA_def_struct_name_property(srna, prop); prop= RNA_def_property(srna, "identifier", PROP_STRING, PROP_NONE); RNA_def_property_flag(prop, PROP_NOT_EDITABLE); RNA_def_property_string_funcs(prop, "rna_Property_identifier_get", "rna_Property_identifier_length", NULL); RNA_def_property_ui_text(prop, "Identifier", "Unique name used in the code and scripting."); - + RNA_def_struct_name_property(srna, prop); + prop= RNA_def_property(srna, "description", PROP_STRING, PROP_NONE); RNA_def_property_flag(prop, PROP_NOT_EDITABLE); RNA_def_property_string_funcs(prop, "rna_Property_description_get", "rna_Property_description_length", NULL); |