mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Exclude inactive tracks & busses from stem export list
The exported file is silent, when choosing to export either region contents or track outputs, so there seems no point in making such routes available for stem export at all. Perhaps there's an arguable use case for enabling stem export of inactive tracks, but I can't see that it's worth worrying about for now.
This commit is contained in:
parent
8b3c729f26
commit
b7f799b7b2
1 changed files with 9 additions and 0 deletions
|
|
@ -647,12 +647,21 @@ TrackExportChannelSelector::fill_list()
|
|||
if ((*it)->is_master () || (*it)->is_monitor ()) {
|
||||
continue;
|
||||
}
|
||||
if (!(*it)->active ()) {
|
||||
// don't include inactive busses
|
||||
continue;
|
||||
}
|
||||
|
||||
// not monitor or master bus
|
||||
add_track (*it);
|
||||
}
|
||||
}
|
||||
for (RouteList::iterator it = routes.begin(); it != routes.end(); ++it) {
|
||||
if (boost::dynamic_pointer_cast<AudioTrack>(*it)) {
|
||||
if (!(*it)->active ()) {
|
||||
// don't include inactive tracks
|
||||
continue;
|
||||
}
|
||||
add_track (*it);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue