diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-14 20:26:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-14 20:26:08 +0400 |
commit | 6e72a7c1138169eb23ff3628e5e0a27349e7015a (patch) | |
tree | 5ba209247c149549d75c693ced33a9eb24945ef1 /release/scripts/startup/bl_ui/space_graph.py | |
parent | 635fba3a660a0a19758683f8cbd3eae9247fe0a7 (diff) |
replace operator to toggle handles with generic wm operator
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_graph.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index d6cd9845053..36ba5eeb92e 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -81,10 +81,9 @@ class GRAPH_MT_view(Menu): layout.prop(st, "use_beauty_drawing") layout.separator() - if st.show_handles: - layout.operator("graph.handles_view_toggle", icon='CHECKBOX_HLT', text="Show All Handles") - else: - layout.operator("graph.handles_view_toggle", icon='CHECKBOX_DEHLT', text="Show All Handles") + + layout.prop(st, "show_handles") + layout.prop(st, "use_only_selected_curves_handles") layout.prop(st, "use_only_selected_keyframe_handles") |