Fix loading Ardour 2 sessions with external redirects
This commit is contained in:
parent
ae66304194
commit
bf9ed3f470
@ -957,14 +957,11 @@ Route::add_processor_from_xml_2X (const XMLNode& node, int version)
|
||||
processor.reset (new UnknownProcessor (_session, node, this));
|
||||
} else {
|
||||
processor.reset (new PluginInsert (_session, time_domain()));
|
||||
processor->set_owner (this);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
processor.reset (new PortInsert (_session, _pannable, _mute_master));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else if (node.name() == "Send") {
|
||||
@ -978,6 +975,8 @@ Route::add_processor_from_xml_2X (const XMLNode& node, int version)
|
||||
return false;
|
||||
}
|
||||
|
||||
processor->set_owner (this);
|
||||
|
||||
if (processor->set_state (node, version)) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user