[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25755] trunk/blender/source/blender/ makesrna/intern/rna_wm.c: Description attributes for macros too
Martin Poirier
theeth at yahoo.com
Tue Jan 5 21:32:20 CET 2010
Revision: 25755
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25755
Author: theeth
Date: 2010-01-05 21:32:20 +0100 (Tue, 05 Jan 2010)
Log Message:
-----------
Description attributes for macros too
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_wm.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_wm.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_wm.c 2010-01-05 20:30:40 UTC (rev 25754)
+++ trunk/blender/source/blender/makesrna/intern/rna_wm.c 2010-01-05 20:32:20 UTC (rev 25755)
@@ -936,6 +936,11 @@
RNA_def_property_string_maxlength(prop, 1024); /* else it uses the pointer size! */
RNA_def_property_flag(prop, PROP_REGISTER);
+ prop= RNA_def_property(srna, "bl_description", PROP_STRING, PROP_NONE);
+ RNA_def_property_string_sdna(prop, NULL, "type->description");
+ RNA_def_property_string_maxlength(prop, 1024); /* else it uses the pointer size! */
+ RNA_def_property_flag(prop, PROP_REGISTER);
+
prop= RNA_def_property(srna, "bl_register", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "type->flag", OPTYPE_REGISTER);
RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL);
More information about the Bf-blender-cvs
mailing list