mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 03:47:42 +01:00
Fix importing of surround processors
This previously failed in SurroundSend::set_state, which expects a gain XMLnode to be present.
This commit is contained in:
parent
857b25980a
commit
0f9e0afd2b
1 changed files with 16 additions and 0 deletions
|
|
@ -3283,6 +3283,22 @@ Route::import_state (const XMLNode& node, bool use_pbd_ids, bool processor_only)
|
|||
}
|
||||
continue;
|
||||
}
|
||||
if (prop->value() == "sursend") {
|
||||
if (_surround_send) {
|
||||
XMLNode* proc = new XMLNode (*child);
|
||||
proc->set_property ("id", _surround_send->id());
|
||||
processor_state.add_child_nocopy (*proc);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (prop->value() == "surreturn") {
|
||||
if (_surround_return) {
|
||||
XMLNode* proc = new XMLNode (*child);
|
||||
proc->set_property ("id", _surround_return->id());
|
||||
processor_state.add_child_nocopy (*proc);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
/* special case processors with controls */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue