From 8a310a748a120ffd4b073cae2bb175f3e1d6ed89 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 24 Jan 2022 11:05:47 -0700 Subject: [PATCH] add new config variable for interview-editing If enabled, this prevents range-selection from propagating across all tracks when RippleAll is set --- gtk2_ardour/editor_drag.cc | 2 +- libs/ardour/ardour/rc_configuration_vars.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index c67798fa1f..7eb92cc221 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -5704,7 +5704,7 @@ SelectionDrag::motion (GdkEvent* event, bool first_move) } if (first_move) { - if (Config->get_edit_mode() == RippleAll) { + if (Config->get_edit_mode() == RippleAll && Config->get_interview_editing()) { _editor->selection->set (_editor->get_track_views()); } _track_selection_at_start = _editor->selection->tracks; diff --git a/libs/ardour/ardour/rc_configuration_vars.h b/libs/ardour/ardour/rc_configuration_vars.h index 03c4c09fa4..a9cc7337ad 100644 --- a/libs/ardour/ardour/rc_configuration_vars.h +++ b/libs/ardour/ardour/rc_configuration_vars.h @@ -113,6 +113,7 @@ CONFIG_VARIABLE (bool, region_boundaries_from_onscreen_tracks, "region-boundarie CONFIG_VARIABLE (FadeShape, default_fade_shape, "default-fade-shape", FadeConstantPower) CONFIG_VARIABLE (RangeSelectionAfterSplit, range_selection_after_split, "range-selection-after-split", PreserveSel) CONFIG_VARIABLE (RegionSelectionAfterSplit, region_selection_after_split, "region-selection-after-split", None) +CONFIG_VARIABLE (bool, interview_editing, "interview-editing", false) /* monitoring, mute, solo etc */