diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-11-19 17:07:09 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-11-19 17:07:09 +0300 |
commit | cd54f07a3c71ba146542e41c7b3407b287b52b4c (patch) | |
tree | 3203011d54aeaee855ff3b6638f0a1b2368063e8 /release/scripts/startup/bl_ui/space_graph.py | |
parent | 793ed3fa74ded8545737910c5326024fe4775bfe (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_graph.py | 8 |
1 files changed, 5 insertions, 3 deletions
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,12 +189,14 @@ 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") |