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
This commit is contained in:
Peter Fog 2020-05-28 12:23:11 -04:00 committed by Hans Goudey
parent 6cbb56418f
commit 82cbf93f20
1 changed files with 5 additions and 8 deletions

View File

@ -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