[Bf-blender-cvs] [79c8f5ac0d3] blender2.8: UI: Header consistency for Squencer

Pablo Vazquez noreply at git.blender.org
Mon Jul 2 14:57:27 CEST 2018


Commit: 79c8f5ac0d3f75a10e9d852fb4640bbc517ce505
Author: Pablo Vazquez
Date:   Mon Jul 2 14:48:40 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB79c8f5ac0d3f75a10e9d852fb4640bbc517ce505

UI: Header consistency for Squencer

===================================================================

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 be2d054e0f0..dc966850b69 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -83,23 +83,25 @@ class SEQUENCER_HT_header(Header):
 
         SEQUENCER_MT_editor_menus.draw_collapsible(context, layout)
 
+        if st.view_type == 'SEQUENCER':
+            layout.prop(st, "show_backdrop", text="Backdrop")
+
         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':
             layout.separator()
-            layout.prop(st, "show_backdrop")
             layout.operator("sequencer.refresh_all")
 
-        else:
-            if st.view_type == 'SEQUENCER_PREVIEW':
-                layout.separator()
-                layout.operator("sequencer.refresh_all")
+        if st.view_type == 'SEQUENCER_PREVIEW':
+            layout.separator()
+            layout.operator("sequencer.refresh_all")
+
+        if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
+            layout.prop(st, "display_mode", expand=True, text="")
 
+        if st.view_type != 'SEQUENCER':
             layout.prop(st, "preview_channels", expand=True, text="")
             layout.prop(st, "display_channel", text="Channel")



More information about the Bf-blender-cvs mailing list