[Bf-blender-cvs] [bf242362f6c] master: UI: Sequencer: Move header spacer in to Preview modes
William Reynish
noreply at git.blender.org
Sat Aug 24 00:24:45 CEST 2019
Commit: bf242362f6c363ef0321b2d3200e6eaa50da0225
Author: William Reynish
Date: Sat Aug 24 00:24:43 2019 +0200
Branches: master
https://developer.blender.org/rBbf242362f6c363ef0321b2d3200e6eaa50da0225
UI: Sequencer: Move header spacer in to Preview modes
Patch by Peter Fog (tintwotin)
Differential Revision: D5511
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index f2eaed62276..9994a0ed5e0 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -103,15 +103,14 @@ class SEQUENCER_HT_header(Header):
SEQUENCER_MT_editor_menus.draw_collapsible(context, layout)
- layout.separator_spacer()
-
if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
+
+ layout.separator_spacer()
+
layout.prop(st, "display_mode", text="", icon_only=True)
- if st.view_type != 'SEQUENCER':
layout.prop(st, "preview_channels", text="", icon_only=True)
- if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
gpd = context.gpencil_data
tool_settings = context.tool_settings
More information about the Bf-blender-cvs
mailing list