From 1be79dc2a09aa66a1dab2d9d312dd5fcb4395bd0 Mon Sep 17 00:00:00 2001 From: Peter Fog Date: Thu, 28 May 2020 14:17:22 -0400 Subject: 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 --- release/scripts/startup/bl_ui/space_sequencer.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 4d3705700f2..dc479539012 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -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 -- cgit v1.2.3