Don't change playlists of frozen tracks when changing the
playlist of a route group (#4864). git-svn-id: svn://localhost/ardour2/branches/3.0@12651 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c40437430a
commit
80afb6e08b
@ -1544,7 +1544,7 @@ RouteTimeAxisView::use_playlist (RadioMenuItem *item, boost::weak_ptr<Playlist>
|
||||
boost::shared_ptr<RouteList> rl (rg->route_list());
|
||||
|
||||
for (RouteList::const_iterator i = rl->begin(); i != rl->end(); ++i) {
|
||||
if ( (*i) == this->route()) {
|
||||
if ((*i) == this->route()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -1555,6 +1555,11 @@ RouteTimeAxisView::use_playlist (RadioMenuItem *item, boost::weak_ptr<Playlist>
|
||||
continue;
|
||||
}
|
||||
|
||||
if (track->freeze_state() == Track::Frozen) {
|
||||
/* Don't change playlists of frozen tracks */
|
||||
continue;
|
||||
}
|
||||
|
||||
boost::shared_ptr<Playlist> ipl = session()->playlists->by_name(playlist_name);
|
||||
if (!ipl) {
|
||||
// No playlist for this track for this take yet, make it
|
||||
|
Loading…
Reference in New Issue
Block a user