mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
ignore automation for non-automatables.
Since 4.7-1477-g2c6d595 Ardour implements Control::NotAutomatable. This can lead to situations where automation exists for parameters that were not supposed to be automatable, which in turn caused a "programming-error" abort() in RouteTimeAxisView::add_processor_automation_curve()
This commit is contained in:
parent
48fe9983f7
commit
dbb26485df
1 changed files with 6 additions and 1 deletions
|
|
@ -233,7 +233,12 @@ Automatable::set_automation_xml_state (const XMLNode& node, Evoral::Parameter le
|
||||||
if (param.type() == NullAutomation) {
|
if (param.type() == NullAutomation) {
|
||||||
warning << "Automation has null type" << endl;
|
warning << "Automation has null type" << endl;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_can_automate_list.find (param) == _can_automate_list.end ()) {
|
||||||
|
warning << "Ignored automation data for non-automatable parameter" << endl;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!id_prop) {
|
if (!id_prop) {
|
||||||
warning << "AutomationList node without automation-id property, "
|
warning << "AutomationList node without automation-id property, "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue