summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_control.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-29 14:32:12 -0500
committerDavid Robillard <d@drobilla.net>2014-11-29 14:32:12 -0500
commit77d5fb7a359e87a51a9eca4adf926d69bc3bdeaf (patch)
tree3954b3808fff868ee42f71f1c37e6451eb0e7c8e /libs/ardour/automation_control.cc
parentc77f4b7a186e030f0295cae03f8e3c0662f77781 (diff)
Fix write for boolean automation.
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r--libs/ardour/automation_control.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc
index d209e733d5..e21fda6874 100644
--- a/libs/ardour/automation_control.cc
+++ b/libs/ardour/automation_control.cc
@@ -62,15 +62,6 @@ AutomationControl::set_value (double value)
{
bool to_list = _list && ((AutomationList*)_list.get())->automation_write();
- if (to_list && parameter().toggled()) {
-
- // store the previous value just before this so any
- // interpolation works right
-
-
- _list->add (get_double(), _session.transport_frame()-1);
- }
-
Control::set_double (value, _session.transport_frame(), to_list);
Changed(); /* EMIT SIGNAL */