Page Menu
Home
Search
Configure Global Search
Log In
Files
F10198
ui_adjustment.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Jacob F (raccoon)
Nov 13 2013, 2:11 PM
Size
920 B
Subscribers
None
ui_adjustment.diff
View Options
Index: source/blender/makesrna/intern/rna_screen.c
===================================================================
--- source/blender/makesrna/intern/rna_screen.c (revision 30778)
+++ source/blender/makesrna/intern/rna_screen.c (working copy)
@@ -162,12 +162,12 @@
RNA_def_property_ui_text(prop, "Region Type", "Type of this region");
prop= RNA_def_property(srna, "width", PROP_INT, PROP_UNSIGNED);
- RNA_def_property_int_sdna(prop, NULL, "winx");
+ RNA_def_property_int_sdna(prop, NULL, "v2d.cur.xmax");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Width", "Region width");
prop= RNA_def_property(srna, "height", PROP_INT, PROP_UNSIGNED);
- RNA_def_property_int_sdna(prop, NULL, "winy");
+ RNA_def_property_int_sdna(prop, NULL, "v2d.cur.ymin*-1");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Height", "Region height");
}
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
13/97/c280a1fbf6bf222d989bb16e8f14
Event Timeline
Log In to Comment