mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Fix crash on drag-n-drop of port inserts (#3809).
git-svn-id: svn://localhost/ardour2/branches/3.0@9003 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3110429deb
commit
c89603465b
1 changed files with 8 additions and 0 deletions
|
|
@ -1636,6 +1636,14 @@ ProcessorBox::paste_processor_state (const XMLNodeList& nlist, boost::shared_ptr
|
|||
|
||||
p.reset (r);
|
||||
|
||||
} else if (type->value() == "port") {
|
||||
|
||||
XMLNode n (**niter);
|
||||
p.reset (new PortInsert (*_session, _route->pannable (), _route->mute_master ()));
|
||||
if (p->set_state (n, Stateful::loading_state_version)) {
|
||||
return;
|
||||
}
|
||||
|
||||
} else {
|
||||
/* XXX its a bit limiting to assume that everything else
|
||||
is a plugin.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue