Fix save/reload of pan automation.

git-svn-id: svn://localhost/ardour2/branches/3.0@7798 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-09-18 20:01:36 +00:00
parent d05a3f7305
commit d2c23d8204
5 changed files with 16 additions and 9 deletions

View file

@ -107,7 +107,7 @@ Processor::state (bool full_state)
}
if (full_state) {
XMLNode& automation = Automatable::get_automation_state();
XMLNode& automation = Automatable::get_automation_xml_state();
if (!automation.children().empty()
|| !automation.properties().empty()
|| !_visible_controls.empty()) {
@ -197,7 +197,7 @@ Processor::set_state (const XMLNode& node, int version)
if ((prop = (*niter)->property ("path")) != 0) {
old_set_automation_state (*(*niter));
} else {
set_automation_state (*(*niter), Evoral::Parameter(PluginAutomation));
set_automation_xml_state (*(*niter), Evoral::Parameter(PluginAutomation));
}
if ((prop = (*niter)->property ("visible")) != 0) {