From 227fb30a184ca383c7c1c0f96107adfe839b5d56 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 2 Dec 2015 14:18:59 +0100 Subject: Fix T46905: UV/Image Editor - Can't add shortcut to Mirror / X Axis menu item Yet another Space/NoSpace mismatch when searching keymaps in WM_keymap_guess_opname(). Spent again some time trying to chase those, was the only one I found... --- source/blender/windowmanager/intern/wm_keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/windowmanager/intern/wm_keymap.c') diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index f378a4cdfa3..fe32fd6fcdb 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -1864,7 +1864,7 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname) km = WM_keymap_find_all(C, "NLA Editor", sl->spacetype, 0); break; case SPACE_IMAGE: - km = WM_keymap_find_all(C, "UV Editor", sl->spacetype, 0); + km = WM_keymap_find_all(C, "UV Editor", 0, 0); break; case SPACE_NODE: km = WM_keymap_find_all(C, "Node Editor", sl->spacetype, 0); -- cgit v1.2.3