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:
authorTon Roosendaal <ton@blender.org>2011-03-28 22:51:27 +0400
committerTon Roosendaal <ton@blender.org>2011-03-28 22:51:27 +0400
commitb2ac8ff1e16235ceedb52a65abebf30ff15e21fc (patch)
tree50757fe16d684562829170a6ee4a94d8b2ae9d76 /source/blender/editors/space_view3d/space_view3d.c
parent9b9c4184c88c49ff96f3f23cbfbd00f6811d7301 (diff)
Maintenance:
Gave the report-timer (in top header) an own TIMER define, to not confuse with timers in use for UI. Easier for debugging. :) Also gave better malloc names to regions in 3d window. All this for testing proper buffer drawing in Intel cards... which is still unsolved.
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r--source/blender/editors/space_view3d/space_view3d.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 5d75d645695..72d7977e132 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -1078,7 +1078,7 @@ void ED_spacetype_view3d(void)
st->context= view3d_context;
/* regions: main window */
- art= MEM_callocN(sizeof(ARegionType), "spacetype view3d region");
+ art= MEM_callocN(sizeof(ARegionType), "spacetype view3d main region");
art->regionid = RGN_TYPE_WINDOW;
art->keymapflag= ED_KEYMAP_GPENCIL;
art->draw= view3d_main_area_draw;
@@ -1091,7 +1091,7 @@ void ED_spacetype_view3d(void)
BLI_addhead(&st->regiontypes, art);
/* regions: listview/buttons */
- art= MEM_callocN(sizeof(ARegionType), "spacetype view3d region");
+ art= MEM_callocN(sizeof(ARegionType), "spacetype view3d buttons region");
art->regionid = RGN_TYPE_UI;
art->prefsizex= 180; // XXX
art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_FRAMES;
@@ -1103,7 +1103,7 @@ void ED_spacetype_view3d(void)
view3d_buttons_register(art);
/* regions: tool(bar) */
- art= MEM_callocN(sizeof(ARegionType), "spacetype view3d region");
+ art= MEM_callocN(sizeof(ARegionType), "spacetype view3d tools region");
art->regionid = RGN_TYPE_TOOLS;
art->prefsizex= 160; // XXX
art->prefsizey= 50; // XXX
@@ -1119,7 +1119,7 @@ void ED_spacetype_view3d(void)
#endif
/* regions: tool properties */
- art= MEM_callocN(sizeof(ARegionType), "spacetype view3d region");
+ art= MEM_callocN(sizeof(ARegionType), "spacetype view3d tool properties region");
art->regionid = RGN_TYPE_TOOL_PROPS;
art->prefsizex= 0;
art->prefsizey= 120;
@@ -1133,7 +1133,7 @@ void ED_spacetype_view3d(void)
/* regions: header */
- art= MEM_callocN(sizeof(ARegionType), "spacetype view3d region");
+ art= MEM_callocN(sizeof(ARegionType), "spacetype view3d header region");
art->regionid = RGN_TYPE_HEADER;
art->prefsizey= HEADERY;
art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_VIEW2D|ED_KEYMAP_FRAMES|ED_KEYMAP_HEADER;