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
This commit is contained in:
Joshua Leung 2014-11-20 02:46:45 +13:00
parent 2ad61438d8
commit 793ed3fa74
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/* ************************************************************************** */

View File

@ -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 */