summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_control.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-11-13 17:21:51 +0100
committerRobin Gareus <robin@gareus.org>2019-11-13 17:21:51 +0100
commit74f8db2def120e8edb181c8008b98e8dbd242713 (patch)
tree5ab509bbcac2ef373b3e204bb500ca55ec652256 /libs/ardour/automation_control.cc
parentff301419b3ca88635744984350cb1643f144deeb (diff)
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.
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r--libs/ardour/automation_control.cc4
1 files changed, 0 insertions, 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<AutomationControl>(shared_from_this()));