[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48616] branches/soc-2012-bratwurst/source /blender/editors/space_view3d/space_view3d.c: Give the main 3d window a UI handler so it can process button events.

Jorge Rodriguez bs.vino at gmail.com
Thu Jul 5 01:44:44 CEST 2012


Revision: 48616
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48616
Author:   vino
Date:     2012-07-04 23:44:43 +0000 (Wed, 04 Jul 2012)
Log Message:
-----------
Give the main 3d window a UI handler so it can process button events.

Modified Paths:
--------------
    branches/soc-2012-bratwurst/source/blender/editors/space_view3d/space_view3d.c

Modified: branches/soc-2012-bratwurst/source/blender/editors/space_view3d/space_view3d.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/space_view3d/space_view3d.c	2012-07-04 23:00:49 UTC (rev 48615)
+++ branches/soc-2012-bratwurst/source/blender/editors/space_view3d/space_view3d.c	2012-07-04 23:44:43 UTC (rev 48616)
@@ -1163,7 +1163,7 @@
 	/* regions: main window */
 	art = MEM_callocN(sizeof(ARegionType), "spacetype view3d main region");
 	art->regionid = RGN_TYPE_WINDOW;
-	art->keymapflag = ED_KEYMAP_GPENCIL;
+	art->keymapflag = ED_KEYMAP_UI | ED_KEYMAP_GPENCIL;
 	art->draw = view3d_main_area_draw;
 	art->init = view3d_main_area_init;
 	art->free = view3d_main_area_free;




More information about the Bf-blender-cvs mailing list