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:
authorCampbell Barton <ideasman42@gmail.com>2010-11-20 08:11:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-20 08:11:10 +0300
commit35014aa741251e79c4cb4dffbe84580789059c5c (patch)
treea28df20a964824edd7be94f605a53330666d8ff4 /source/blender/makesrna/intern/rna_screen.c
parent593815b23f1eedbeb959067f08d810f35f9e3633 (diff)
- add python/rna function region.tag_redraw()
- removed print which was before NULL check, (possible crash) - add execute hooks for the python console (not used by any scripts yet)
Diffstat (limited to 'source/blender/makesrna/intern/rna_screen.c')
-rw-r--r--source/blender/makesrna/intern/rna_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_screen.c b/source/blender/makesrna/intern/rna_screen.c
index d6964f5d569..197a7266fea 100644
--- a/source/blender/makesrna/intern/rna_screen.c
+++ b/source/blender/makesrna/intern/rna_screen.c
@@ -176,6 +176,8 @@ static void rna_def_region(BlenderRNA *brna)
RNA_def_property_int_sdna(prop, NULL, "winy");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Height", "Region height");
+
+ RNA_def_function(srna, "tag_redraw", "ED_region_tag_redraw");
}
static void rna_def_screen(BlenderRNA *brna)