Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billreynish>2018-10-08 20:10:10 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-08 20:46:00 +0300
commit6a41691a0d92e2582bd0f4f42f59affc2d8b850d (patch)
tree67c5ba36683d3a0972e2ee2e150f17774d7409c4 /release/scripts/startup/bl_ui/space_graph.py
parentcf8e71db615c2d74bf87f18ab8389a675cbe6c51 (diff)
UI: layout tweaks for headers.
* Move all copy & paste operators into the menus. There was no real reason why these particular operators should be in the header and not in the menus, like all other operators * Move ‘Update Automatically’ toggle from UV/Image Editor header into menu. * Move the pin toggle next to the ID blocks, because it is related. * Move OpenGL render from sequence header into View menu. * Sequence editor display mode and channels are now not expanded.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index f97969d3b43..d668bb7ec25 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -75,11 +75,6 @@ class GRAPH_HT_header(Header):
layout.prop(st, "pivot_point", icon_only=True)
- row = layout.row(align=True)
- row.operator("graph.copy", text="", icon='COPYDOWN')
- row.operator("graph.paste", text="", icon='PASTEDOWN')
- row.operator("graph.paste", text="", icon='PASTEFLIPDOWN').flipped = True
-
class GRAPH_PT_filters(DopesheetFilterPopoverBase, Panel):
bl_space_type = 'GRAPH_EDITOR'
@@ -277,6 +272,9 @@ class GRAPH_MT_key(Menu):
layout.operator("graph.frame_jump")
layout.separator()
+ layout.operator("graph.copy")
+ layout.operator("graph.paste")
+ layout.operator("graph.paste", text="Paste Flipped").flipped = True
layout.operator("graph.duplicate_move")
layout.operator("graph.delete")
@@ -293,10 +291,6 @@ class GRAPH_MT_key(Menu):
layout.operator("graph.bake")
layout.separator()
- layout.operator("graph.copy")
- layout.operator("graph.paste")
-
- layout.separator()
layout.operator("graph.euler_filter", text="Discontinuity (Euler) Filter")