mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
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:
parent
d05a3f7305
commit
d2c23d8204
5 changed files with 16 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue