[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25218] trunk/blender/source/blender/ editors/space_image/space_image.c: Image Paint keymap in image editor wasn' t looked up with the space type.

Martin Poirier theeth at yahoo.com
Tue Dec 8 18:37:31 CET 2009


Revision: 25218
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25218
Author:   theeth
Date:     2009-12-08 18:37:31 +0100 (Tue, 08 Dec 2009)

Log Message:
-----------
Image Paint keymap in image editor wasn't looked up with the space type.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_image/space_image.c

Modified: trunk/blender/source/blender/editors/space_image/space_image.c
===================================================================
--- trunk/blender/source/blender/editors/space_image/space_image.c	2009-12-08 17:23:48 UTC (rev 25217)
+++ trunk/blender/source/blender/editors/space_image/space_image.c	2009-12-08 17:37:31 UTC (rev 25218)
@@ -391,7 +391,7 @@
 	// UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_STANDARD, ar->winx, ar->winy);
 
 	/* image paint polls for mode */
-	keymap= WM_keymap_find(wm->defaultconf, "Image Paint", SPACE_IMAGE, 0);
+	keymap= WM_keymap_find(wm->defaultconf, "Image Paint", 0, 0);
 	WM_event_add_keymap_handler_bb(&ar->handlers, keymap, &ar->v2d.mask, &ar->winrct);
 
 	keymap= WM_keymap_find(wm->defaultconf, "UVEdit", 0, 0);





More information about the Bf-blender-cvs mailing list