From 6733a847eeb55b4640a65a8bfebac8c7166521c8 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 20 May 2021 11:30:39 -0500 Subject: [PATCH] Fix Bounced region+filename (lib part) Prior implementation: Bouncing a range and naming it "chorus" resulted in: ..a region per track, and they were all named "chorus" ...a file per track, with the name "chorus-{playlist name}" New implementation: Bouncing a range and naming it "chorus" results in: ..a region per track, with the name "chorus-{playlist name}" ...a file with the same name as the region --- libs/ardour/session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 314493326c..9000f2a715 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -5941,7 +5941,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end, result = RegionFactory::create (srcs, plist, true); - result->set_name((name.length() != 0) ? name : legal_playlist_name); /*setting name in the properties didn't seem to work, but this does*/ + result->set_name(legal_playlist_name); /*setting name in the properties didn't seem to work, but this does*/ } out: