VSE: more intuitive UI control for waveform display mode
Use a more consistent radio selection for waveform display, not an enum-radio hybrid. Part of design task at #115274 Pull Request: https://projects.blender.org/blender/blender/pulls/116336
This commit is contained in:
parent
faefaa4447
commit
4805b4f13f
|
@ -322,7 +322,8 @@ class SEQUENCER_PT_sequencer_overlay(Panel):
|
|||
|
||||
layout.separator()
|
||||
|
||||
layout.prop_menu_enum(overlay_settings, "waveform_display_type")
|
||||
layout.label(text="Waveforms")
|
||||
layout.row().prop(overlay_settings, "waveform_display_type", expand=True)
|
||||
|
||||
|
||||
class SEQUENCER_MT_view_cache(Menu):
|
||||
|
|
|
@ -5767,21 +5767,17 @@ static void rna_def_space_sequencer_timeline_overlay(BlenderRNA *brna)
|
|||
RNA_def_struct_ui_text(srna, "Timeline Overlay Settings", "");
|
||||
|
||||
static const EnumPropertyItem waveform_type_display_items[] = {
|
||||
{SEQ_TIMELINE_NO_WAVEFORMS,
|
||||
"NO_WAVEFORMS",
|
||||
0,
|
||||
"Waveforms Off",
|
||||
"Don't display waveforms for any sound strips"},
|
||||
{SEQ_TIMELINE_ALL_WAVEFORMS,
|
||||
"ALL_WAVEFORMS",
|
||||
0,
|
||||
"Waveforms On",
|
||||
"On",
|
||||
"Display waveforms for all sound strips"},
|
||||
{0,
|
||||
"DEFAULT_WAVEFORMS",
|
||||
{0, "DEFAULT_WAVEFORMS", 0, "Strip", "Display waveforms depending on strip setting"},
|
||||
{SEQ_TIMELINE_NO_WAVEFORMS,
|
||||
"NO_WAVEFORMS",
|
||||
0,
|
||||
"Use Strip Option",
|
||||
"Display waveforms depending on strip setting"},
|
||||
"Off",
|
||||
"Don't display waveforms for any sound strips"},
|
||||
{0, nullptr, 0, nullptr, nullptr},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue