Fix [#36423] Audio strips contain selectable (visual) blend modes and opacity value

Simply hide blend type and opacity for SOUND strips!
This commit is contained in:
Bastien Montagne
2013-08-18 15:48:51 +00:00
parent a567dd20c0
commit b9f78815f1

View File

@@ -407,6 +407,7 @@ class SEQUENCER_PT_edit(SequencerButtonsPanel, Panel):
split.label(text="Type:")
split.prop(strip, "type", text="")
if strip.type not in {'SOUND'}:
split = layout.split(percentage=0.3)
split.label(text="Blend:")
split.prop(strip, "blend_type", text="")