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-06-28 01:32:02 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-06-28 01:32:05 +0300
commit9f4b7bed291fd2d87717d4191089b471061ef3e4 (patch)
tree5067ddbaccc4c740366ad11fa8937a260d112405 /release/scripts
parent3e1b755ead48e7d739c33fa8da5d0c5ea3bf5553 (diff)
UI: Center ID Blocks in Video Sequencer
Also remove Use Preview Range and Lock Frame buttons from the header they belong to the Timeline editor now. See T55635
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index ce1d1da038c..08ae7a99739 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -83,21 +83,18 @@ class SEQUENCER_HT_header(Header):
SEQUENCER_MT_editor_menus.draw_collapsible(context, layout)
- row = layout.row(align=True)
- row.prop(scene, "use_preview_range", text="", toggle=True)
- row.prop(scene, "lock_frame_selection_to_range", text="", toggle=True)
+ layout.separator_spacer()
+
+ layout.template_running_jobs()
if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
layout.prop(st, "display_mode", expand=True, text="")
if st.view_type == 'SEQUENCER':
- row = layout.row(align=True)
- row.operator("sequencer.copy", text="", icon='COPYDOWN')
- row.operator("sequencer.paste", text="", icon='PASTEDOWN')
-
layout.separator()
- layout.operator("sequencer.refresh_all")
layout.prop(st, "show_backdrop")
+ layout.operator("sequencer.refresh_all")
+
else:
if st.view_type == 'SEQUENCER_PREVIEW':
layout.separator()
@@ -134,7 +131,12 @@ class SEQUENCER_HT_header(Header):
props.animation = True
props.sequencer = True
- layout.template_running_jobs()
+ if st.view_type == 'SEQUENCER':
+
+ row = layout.row(align=True)
+ row.operator("sequencer.copy", text="", icon='COPYDOWN')
+ row.operator("sequencer.paste", text="", icon='PASTEDOWN')
+
class SEQUENCER_MT_editor_menus(Menu):