[Bf-blender-cvs] [82cbf93f20a] master: VSE UI: Group Show Elements in View Menu, Use Consistent Naming

Peter Fog noreply at git.blender.org
Thu May 28 18:23:34 CEST 2020


Commit: 82cbf93f20a4427de12d6944b7971395033e9ead
Author: Peter Fog
Date:   Thu May 28 12:23:11 2020 -0400
Branches: master
https://developer.blender.org/rB82cbf93f20a4427de12d6944b7971395033e9ead

VSE UI: Group Show Elements in View Menu, Use Consistent Naming

Use the "Show..." syntax for Show elements in View menu.

Differential Revision: https://developer.blender.org/D7344

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

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 c146d374d22..6e75aa9b15b 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -307,12 +307,15 @@ class SEQUENCER_MT_view(Menu):
             layout.separator()
             layout.operator_context = 'INVOKE_DEFAULT'
 
-            layout.prop(st, "show_seconds")
             layout.prop(st, "show_locked_time")
+
+            layout.separator()
+            layout.prop(st, "show_seconds")
             layout.prop(st, "show_strip_offset")
             layout.prop(st, "show_fcurves")
-            layout.separator()
             layout.prop(st, "show_markers")
+            layout.menu("SEQUENCER_MT_view_cache", text="Show Cache")
+            layout.prop_menu_enum(st, "waveform_display_type", text="Show Waveforms")
 
         if is_preview:
             layout.separator()
@@ -324,12 +327,6 @@ class SEQUENCER_MT_view(Menu):
             elif st.display_mode == 'WAVEFORM':
                 layout.prop(st, "show_separate_color", text="Show Separate Color Channels")
 
-        if is_sequencer_view:
-            layout.separator()
-
-            layout.menu("SEQUENCER_MT_view_cache")
-            layout.prop_menu_enum(st, "waveform_display_type")
-
         layout.separator()
 
         layout.operator("render.opengl", text="Sequence Render Image", icon='RENDER_STILL').sequencer = True



More information about the Bf-blender-cvs mailing list