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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-12-02 16:18:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-12-02 16:20:12 +0300
commit227fb30a184ca383c7c1c0f96107adfe839b5d56 (patch)
tree3e875158fde3371ede4e9d0a03741d5fa547e99e /source/blender/windowmanager/intern/wm_keymap.c
parentbfd7b458873313979cfa320898cf50c5142b9e72 (diff)
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...
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r--source/blender/windowmanager/intern/wm_keymap.c2
1 files changed, 1 insertions, 1 deletions
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);