mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
Fix loading of PortInserts from 2.X sessions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8287 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9e4b7a45fe
commit
b3fcaf71d4
1 changed files with 2 additions and 2 deletions
|
|
@ -184,9 +184,9 @@ PortInsert::set_state (const XMLNode& node, int version)
|
|||
|
||||
const XMLNode* insert_node = &node;
|
||||
|
||||
// legacy sessions: search for child IOProcessor node
|
||||
// legacy sessions: search for child Redirect node
|
||||
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
|
||||
if ((*niter)->name() == "IOProcessor") {
|
||||
if ((*niter)->name() == "Redirect") {
|
||||
insert_node = *niter;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue