Fix insert-position when adding route from template
This commit is contained in:
parent
31b709b7ff
commit
1173262503
|
@ -92,6 +92,7 @@
|
||||||
#include "ardour/playlist_factory.h"
|
#include "ardour/playlist_factory.h"
|
||||||
#include "ardour/plugin.h"
|
#include "ardour/plugin.h"
|
||||||
#include "ardour/plugin_insert.h"
|
#include "ardour/plugin_insert.h"
|
||||||
|
#include "ardour/presentation_info.h"
|
||||||
#include "ardour/process_thread.h"
|
#include "ardour/process_thread.h"
|
||||||
#include "ardour/profile.h"
|
#include "ardour/profile.h"
|
||||||
#include "ardour/rc_configuration.h"
|
#include "ardour/rc_configuration.h"
|
||||||
|
@ -3037,6 +3038,11 @@ Session::new_route_from_template (uint32_t how_many, PresentationInfo::order_t i
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
PresentationInfo& rpi = route->presentation_info ();
|
||||||
|
rpi.set_flags (PresentationInfo::Flag (rpi.flags() & ~PresentationInfo::OrderSet));
|
||||||
|
}
|
||||||
|
|
||||||
/* Fix up sharing of playlists with the new Route/Track */
|
/* Fix up sharing of playlists with the new Route/Track */
|
||||||
|
|
||||||
for (vector<boost::shared_ptr<Playlist> >::iterator sp = shared_playlists.begin(); sp != shared_playlists.end(); ++sp) {
|
for (vector<boost::shared_ptr<Playlist> >::iterator sp = shared_playlists.begin(); sp != shared_playlists.end(); ++sp) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user