From 74f8db2def120e8edb181c8008b98e8dbd242713 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 13 Nov 2019 17:21:51 +0100 Subject: [PATCH] Remove boolean automation special case Previously setting a boolean-control to "write" and roll did not create an automation-point. The state was not correctly captured. The boolean-control needed to be toggled explicitly to create an automation point. --- libs/ardour/automation_control.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index eda77f64b2..9348343ad1 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -247,10 +247,6 @@ AutomationControl::set_automation_state (AutoState as) const double val = get_value (); alist()->set_automation_state (as); - if (_desc.toggled) { - Changed (false, Controllable::NoGroup); // notify slaves, update boolean masters - return; // No watch for boolean automation - } if (as == Write) { AutomationWatch::instance().add_automation_watch (boost::dynamic_pointer_cast(shared_from_this()));