mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix Aux-send copy/paste
* Create new IDs * Allow to link with route's panner
This commit is contained in:
parent
1fc8b55314
commit
31691a6ad4
1 changed files with 2 additions and 3 deletions
|
|
@ -3517,11 +3517,11 @@ ProcessorBox::paste_processor_state (const XMLNodeList& nlist, boost::shared_ptr
|
|||
continue;
|
||||
}
|
||||
|
||||
boost::shared_ptr<Pannable> sendpan(new Pannable (*_session));
|
||||
XMLNode n (**niter);
|
||||
InternalSend* s = new InternalSend (*_session, sendpan, _route->mute_master(),
|
||||
InternalSend* s = new InternalSend (*_session, _route->pannable(), _route->mute_master(),
|
||||
_route, boost::shared_ptr<Route>(), Delivery::Aux);
|
||||
|
||||
PBD::Stateful::ForceIDRegeneration force_ids;
|
||||
if (s->set_state (n, Stateful::loading_state_version)) {
|
||||
delete s;
|
||||
return;
|
||||
|
|
@ -3539,7 +3539,6 @@ ProcessorBox::paste_processor_state (const XMLNodeList& nlist, boost::shared_ptr
|
|||
|
||||
} else if (type->value() == "send") {
|
||||
|
||||
boost::shared_ptr<Pannable> sendpan(new Pannable (*_session));
|
||||
XMLNode n (**niter);
|
||||
|
||||
Send* s = new Send (*_session, _route->pannable(), _route->mute_master());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue