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.
This commit is contained in:
Robin Gareus
2019-11-13 17:21:51 +01:00
parent ff301419b3
commit 74f8db2def

View File

@@ -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<AutomationControl>(shared_from_this()));