diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-08 20:37:31 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-08 20:37:31 +0300 |
commit | 278fc187cf09a7dda1332a469369d97db670f54a (patch) | |
tree | 5afebc097f1eb2f71c92cec5a740e17873ef079a /source/blender | |
parent | 07904712e8943b5845df9559093018c8473f72f3 (diff) |
Image Paint keymap in image editor wasn't looked up with the space type.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 2751edfcb43..2f839feeb36 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -391,7 +391,7 @@ static void image_main_area_init(wmWindowManager *wm, ARegion *ar) // 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); |