[Bf-blender-cvs] [793ed3f] master: Tweaks to hide/reveal hotkeys for Graph Editor
Joshua Leung
noreply at git.blender.org
Wed Nov 19 14:46:55 CET 2014
Commit: 793ed3fa74ded8545737910c5326024fe4775bfe
Author: Joshua Leung
Date: Thu Nov 20 02:46:45 2014 +1300
Branches: master
https://developer.blender.org/rB793ed3fa74ded8545737910c5326024fe4775bfe
Tweaks to hide/reveal hotkeys for Graph Editor
Now the hotkeys here work in line with what's done for other parts of Blender
* H = Hide selected
* Shift-H = Hide unselected (i.e. old VKEY behaviour)
* Alt-H = Reveal all
===================================================================
M source/blender/editors/animation/anim_channels_edit.c
M source/blender/editors/space_graph/graph_ops.c
===================================================================
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c
index 33c9aab..9a2235a 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -3034,7 +3034,7 @@ void ED_keymap_animchannels(wmKeyConfig *keyconf)
WM_keymap_add_item(keymap, "ANIM_OT_channels_ungroup", GKEY, KM_PRESS, KM_ALT, 0);
/* Graph Editor only */
- WM_keymap_add_item(keymap, "ANIM_OT_channels_visibility_set", VKEY, KM_PRESS, 0, 0);
+ WM_keymap_add_item(keymap, "ANIM_OT_channels_visibility_set", HKEY, KM_PRESS, KM_SHIFT, 0);
}
/* ************************************************************************** */
diff --git a/source/blender/editors/space_graph/graph_ops.c b/source/blender/editors/space_graph/graph_ops.c
index fe6d729..bb041c5 100644
--- a/source/blender/editors/space_graph/graph_ops.c
+++ b/source/blender/editors/space_graph/graph_ops.c
@@ -588,7 +588,7 @@ void graphedit_keymap(wmKeyConfig *keyconf)
/* hide/reveal selected curves */
WM_keymap_add_item(keymap, "GRAPH_OT_hide", HKEY, KM_PRESS, 0, 0);
- WM_keymap_add_item(keymap, "GRAPH_OT_reveal", HKEY, KM_PRESS, KM_SHIFT, 0);
+ WM_keymap_add_item(keymap, "GRAPH_OT_reveal", HKEY, KM_PRESS, KM_ALT, 0);
/* channels */
More information about the Bf-blender-cvs
mailing list