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
This commit is contained in:
Ben Loftis 2021-05-20 11:30:39 -05:00
parent 5fdbd71d89
commit 6733a847ee

View File

@ -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: