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:
authorPeter Fog <tintwotin>2020-05-28 19:23:11 +0300
committerHans Goudey <h.goudey@me.com>2020-05-28 19:23:11 +0300
commit82cbf93f20a4427de12d6944b7971395033e9ead (patch)
treee7b33bc5b44d4e2e2b020b1fad3efae364e41325
parent6cbb56418f409ad45ca8b62c6f2955a8426cd615 (diff)
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
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py13
1 files changed, 5 insertions, 8 deletions
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