Revision: 17919 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17919 Author: campbellbarton Date: 2008-12-18 08:22:28 +0100 (Thu, 18 Dec 2008)
Log Message: ----------- Use the identifier for struct property access too struct.properties['pulse_false_level'] instead of struct.properties['Pulse False Level'] Modified Paths: -------------- branches/blender2.5/blender/source/blender/makesrna/intern/rna_rna.c Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_rna.c =================================================================== --- branches/blender2.5/blender/source/blender/makesrna/intern/rna_rna.c 2008-12-18 06:43:03 UTC (rev 17918) +++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_rna.c 2008-12-18 07:22:28 UTC (rev 17919) @@ -450,13 +450,13 @@ 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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs