VSE UI: Add buttons for swap Effect strip inputs
The feature where the active strip determines what strip will be the first input in effect strips can be quite a puzzle for users. The operator to swap the inputs is hidden in the Strip menu. This adds the swapping to the Effect sidebar panel. Differential Revision: https://developer.blender.org/D7849
This commit is contained in:
@@ -1030,10 +1030,14 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
|
||||
|
||||
if strip.input_count > 0:
|
||||
col = layout.column()
|
||||
col.enabled = False
|
||||
col.prop(strip, "input_1")
|
||||
row = col.row()
|
||||
row.prop(strip, "input_1")
|
||||
|
||||
if strip.input_count > 1:
|
||||
col.prop(strip, "input_2")
|
||||
row.operator("sequencer.swap_inputs", text="", icon="SORT_ASC")
|
||||
row = col.row()
|
||||
row.prop(strip, "input_2")
|
||||
row.operator("sequencer.swap_inputs", text="", icon="SORT_DESC")
|
||||
|
||||
strip_type = strip.type
|
||||
|
||||
|
Reference in New Issue
Block a user