From 5fdbd71d89adcd4fadbf8d4021871f2b58d88a93 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 20 May 2021 11:24:47 -0500 Subject: [PATCH] Fix bounced file+region names: concatenating all the names was a bad idea. (gtk part) --- gtk2_ardour/editor_ops.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 7780c730d9..acf26a98fd 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -4090,6 +4090,11 @@ Editor::bounce_range_selection (bool replace, bool enable_processing) } string bounce_name; + if (replace) { + bounce_name = "Consolidated"; + } else { + bounce_name = "Bounced"; + } TrackSelection views = selection->tracks; @@ -4110,13 +4115,6 @@ Editor::bounce_range_selection (bool replace, bool enable_processing) return; } } - - RouteTimeAxisView* rtv = dynamic_cast (*i); - if (rtv && rtv->track()) { - if (i!=views.begin()) - bounce_name.append("+"); - bounce_name.append(rtv->track()->name()); - } } /*prompt the user for a new name*/ @@ -4182,6 +4180,7 @@ Editor::bounce_range_selection (bool replace, bool enable_processing) boost::shared_ptr r; /*make the "source" (whole-file region)*/ + /*note: bounce_range() will append the playlist name to the resulting region and filename*/ if (enable_processing) { r = rtv->track()->bounce_range (start, start+cnt, itt, rtv->track()->main_outs(), false, bounce_name); } else {