[Bf-blender-cvs] [a6c9a09] master: Fix T46538: Mark and Clear Seam in UV Editor, assigning Hotkeys.

Bastien Montagne noreply at git.blender.org
Sat Oct 24 08:44:29 CEST 2015


Commit: a6c9a09061a92269ae9bb3dc549afbb9e6f0d679
Author: Bastien Montagne
Date:   Fri Oct 23 14:34:57 2015 +0200
Branches: master
https://developer.blender.org/rBa6c9a09061a92269ae9bb3dc549afbb9e6f0d679

Fix T46538: Mark and Clear Seam in UV Editor, assigning Hotkeys.

UV Editor keymap is not bound to a given editor (spacetype)...

===================================================================

M	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 016583e..1e1df96 100644
--- a/source/blender/windowmanager/intern/wm_keymap.c
+++ b/source/blender/windowmanager/intern/wm_keymap.c
@@ -1789,7 +1789,7 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname)
 	}
 	/* UV Editor */
 	else if (STRPREFIX(opname, "UV_OT")) {
-		km = WM_keymap_find_all(C, "UV Editor", sl->spacetype, 0);
+		km = WM_keymap_find_all(C, "UV Editor", 0, 0);
 	}
 	/* Node Editor */
 	else if (STRPREFIX(opname, "NODE_OT")) {




More information about the Bf-blender-cvs mailing list