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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user