diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-25 11:03:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:41 -0400 |
commit | 1e9b2abe730b89ff212ef61cee9e7112bf7c8f50 (patch) | |
tree | 2d666b2fab23475235b53bcc799a3ad9f5cab954 /libs/ardour/vca.cc | |
parent | 760beab7fa1b3fcccd653279ad736656793302ea (diff) |
save and restore vca assignments
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r-- | libs/ardour/vca.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc index 2ab84d5570..72c0a2cdcb 100644 --- a/libs/ardour/vca.cc +++ b/libs/ardour/vca.cc @@ -106,6 +106,8 @@ VCA::get_state () node->add_child_nocopy (_mute_control->get_state()); node->add_child_nocopy (get_automation_xml_state()); + node->add_child_nocopy (Slavable::get_state()); + return *node; } @@ -141,6 +143,8 @@ VCA::set_state (XMLNode const& node, int version) if (prop->value() == _mute_control->name()) { _mute_control->set_state (**i, version); } + } else if ((*i)->name() == Slavable::xml_node_name) { + Slavable::set_state (**i, version); } } |