From cd54f07a3c71ba146542e41c7b3407b287b52b4c Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 20 Nov 2014 03:07:09 +1300 Subject: Fix: Shift-H now works in main graph editor area too In the process, I've removed the old operator (ANIM_OT_channels_visibility_set) and folded that option in with the hide operator, to make this consistent with how this is done in the 3D view and other parts of Blender. --- release/scripts/startup/bl_ui/space_graph.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_graph.py') diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index cb5926b37e4..5861bc0dc95 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -189,11 +189,13 @@ class GRAPH_MT_channel(Menu): layout.separator() layout.operator("anim.channels_editable_toggle") - layout.operator("graph.hide") - layout.operator("graph.reveal") - layout.operator("anim.channels_visibility_set") layout.operator_menu_enum("graph.extrapolation_type", "type", text="Extrapolation Mode") + layout.separator() + layout.operator("graph.hide", text="Hide Selected Curves").unselected = False + layout.operator("graph.hide", text="Hide Unselected Curves").unselected = True + layout.operator("graph.reveal") + layout.separator() layout.operator("anim.channels_expand") layout.operator("anim.channels_collapse") -- cgit v1.2.3