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:
@@ -307,12 +307,15 @@ class SEQUENCER_MT_view(Menu):
|
|||||||
layout.separator()
|
layout.separator()
|
||||||
layout.operator_context = 'INVOKE_DEFAULT'
|
layout.operator_context = 'INVOKE_DEFAULT'
|
||||||
|
|
||||||
layout.prop(st, "show_seconds")
|
|
||||||
layout.prop(st, "show_locked_time")
|
layout.prop(st, "show_locked_time")
|
||||||
|
|
||||||
|
layout.separator()
|
||||||
|
layout.prop(st, "show_seconds")
|
||||||
layout.prop(st, "show_strip_offset")
|
layout.prop(st, "show_strip_offset")
|
||||||
layout.prop(st, "show_fcurves")
|
layout.prop(st, "show_fcurves")
|
||||||
layout.separator()
|
|
||||||
layout.prop(st, "show_markers")
|
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:
|
if is_preview:
|
||||||
layout.separator()
|
layout.separator()
|
||||||
@@ -324,12 +327,6 @@ class SEQUENCER_MT_view(Menu):
|
|||||||
elif st.display_mode == 'WAVEFORM':
|
elif st.display_mode == 'WAVEFORM':
|
||||||
layout.prop(st, "show_separate_color", text="Show Separate Color Channels")
|
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.separator()
|
||||||
|
|
||||||
layout.operator("render.opengl", text="Sequence Render Image", icon='RENDER_STILL').sequencer = True
|
layout.operator("render.opengl", text="Sequence Render Image", icon='RENDER_STILL').sequencer = True
|
||||||
|
Reference in New Issue
Block a user