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:
Carl Hetherington 2010-12-16 12:48:50 +00:00
parent 9e4b7a45fe
commit b3fcaf71d4

View file

@ -184,9 +184,9 @@ PortInsert::set_state (const XMLNode& node, int version)
const XMLNode* insert_node = &node; 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) { for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
if ((*niter)->name() == "IOProcessor") { if ((*niter)->name() == "Redirect") {
insert_node = *niter; insert_node = *niter;
break; break;
} }