13
0

Fix loading Ardour 2 sessions with external redirects

This commit is contained in:
Robin Gareus 2023-02-07 18:28:22 +01:00
parent ae66304194
commit bf9ed3f470
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;
}