Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2009-12-20 00:33:25 +0300
committerMartin Poirier <theeth@yahoo.com>2009-12-20 00:33:25 +0300
commit0da09bd261c7303dc601fa01af02253f2e7213dd (patch)
tree17f9bf50eb5a8deb8467c51e40f8b49159ff8baa /source/blender/makesrna/intern/rna_screen.c
parent13848797827e65174ceea193839a91a64309796c (diff)
int Type for region rna (read-only helps for debug)
Diffstat (limited to 'source/blender/makesrna/intern/rna_screen.c')
-rw-r--r--source/blender/makesrna/intern/rna_screen.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_screen.c b/source/blender/makesrna/intern/rna_screen.c
index 2471ce3c798..883c77b3faa 100644
--- a/source/blender/makesrna/intern/rna_screen.c
+++ b/source/blender/makesrna/intern/rna_screen.c
@@ -152,7 +152,12 @@ static void rna_def_region(BlenderRNA *brna)
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");