[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25474] trunk/blender/source/blender/ makesrna/intern/rna_screen.c: int Type for region rna ( read-only helps for debug)
Martin Poirier
theeth at yahoo.com
Sat Dec 19 22:33:26 CET 2009
Revision: 25474
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25474
Author: theeth
Date: 2009-12-19 22:33:25 +0100 (Sat, 19 Dec 2009)
Log Message:
-----------
int Type for region rna (read-only helps for debug)
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_screen.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_screen.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_screen.c 2009-12-19 16:55:04 UTC (rev 25473)
+++ trunk/blender/source/blender/makesrna/intern/rna_screen.c 2009-12-19 21:33:25 UTC (rev 25474)
@@ -152,8 +152,13 @@
prop= RNA_def_property(srna, "id", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "swinid");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
- RNA_def_property_ui_text(prop, "Region ID", "Uniqute ID for this region.");
+ RNA_def_property_ui_text(prop, "Region ID", "Unique ID for this region.");
+ prop= RNA_def_property(srna, "type", PROP_INT, PROP_NONE);
+ RNA_def_property_int_sdna(prop, NULL, "regiontype");
+ RNA_def_property_clear_flag(prop, PROP_EDITABLE);
+ RNA_def_property_ui_text(prop, "Region Type", "Type of this region.");
+
prop= RNA_def_property(srna, "width", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "winx");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
More information about the Bf-blender-cvs
mailing list