13
0

Patch from Lincoln to fix placement of plugins in 2.X sessions. Fixes #3444.

git-svn-id: svn://localhost/ardour2/branches/3.0@7762 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-09-09 14:41:09 +00:00
parent d02822e788
commit 14f67ab187

View File

@ -931,6 +931,7 @@ Route::add_processor_from_xml_2X (const XMLNode& node, int version)
XMLNodeList const & children = node.children ();
XMLNodeList::const_iterator i = children.begin ();
while (i != children.end() && (*i)->name() != X_("Redirect")) {
++i;
}
@ -938,7 +939,7 @@ Route::add_processor_from_xml_2X (const XMLNode& node, int version)
Placement placement = PreFader;
if (i != children.end()) {
if ((prop = node.property (X_("placement"))) != 0) {
if ((prop = (*i)->property (X_("placement"))) != 0) {
placement = Placement (string_2_enum (prop->value(), placement));
}
}