[Bf-blender-cvs] [cb39a41] master: Fix T46691: Graph Editor, Channel, Toggle Channel Editability. Cannot reassign hotkey after removing it.

Bastien Montagne noreply at git.blender.org
Thu Nov 5 12:58:07 CET 2015


Commit: cb39a4171b6a052f13625688cbb5aed267356b50
Author: Bastien Montagne
Date:   Thu Nov 5 12:56:48 2015 +0100
Branches: master
https://developer.blender.org/rBcb39a4171b6a052f13625688cbb5aed267356b50

Fix T46691: Graph Editor, Channel, Toggle Channel Editability. Cannot reassign hotkey after removing it.

Anim Channels keymap is not editor-related...

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

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 1e1df96..678d7b4 100644
--- a/source/blender/windowmanager/intern/wm_keymap.c
+++ b/source/blender/windowmanager/intern/wm_keymap.c
@@ -1797,7 +1797,7 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname)
 	}
 	/* Animation Editor Channels */
 	else if (STRPREFIX(opname, "ANIM_OT_channels")) {
-		km = WM_keymap_find_all(C, "Animation Channels", sl->spacetype, 0);
+		km = WM_keymap_find_all(C, "Animation Channels", 0, 0);
 	}
 	/* Animation Generic - after channels */
 	else if (STRPREFIX(opname, "ANIM_OT")) {




More information about the Bf-blender-cvs mailing list