(Source List) Catch new sources created by bounce-range-to-source-list
This commit is contained in:
parent
d400dd813a
commit
3a2e06f36b
@ -6182,7 +6182,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
legal_playlist_name = legalize_for_path (playlist->name());
|
legal_playlist_name = "(BOUNCE) " + legalize_for_path (playlist->name());
|
||||||
|
|
||||||
for (uint32_t chan_n = 0; chan_n < diskstream_channels.n(data_type); ++chan_n) {
|
for (uint32_t chan_n = 0; chan_n < diskstream_channels.n(data_type); ++chan_n) {
|
||||||
|
|
||||||
@ -6328,10 +6328,11 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
|
|||||||
PropertyList plist;
|
PropertyList plist;
|
||||||
|
|
||||||
plist.add (Properties::start, 0);
|
plist.add (Properties::start, 0);
|
||||||
|
plist.add (Properties::whole_file, true);
|
||||||
plist.add (Properties::length, srcs.front()->length(srcs.front()->natural_position()));
|
plist.add (Properties::length, srcs.front()->length(srcs.front()->natural_position()));
|
||||||
plist.add (Properties::name, region_name_from_path (srcs.front()->name(), true));
|
plist.add (Properties::name, region_name_from_path (srcs.front()->name(), true));
|
||||||
|
|
||||||
result = RegionFactory::create (srcs, plist);
|
result = RegionFactory::create (srcs, plist, true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user