diff options
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index c151b72d14..d53c61432e 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -200,20 +200,7 @@ AutomationController::start_touch() void AutomationController::end_touch () { - if (_controllable->automation_state() == Touch) { - - bool mark = false; - double when = 0; - - if (_controllable->session().transport_rolling()) { - mark = true; - when = _controllable->session().transport_frame(); - } - - _controllable->stop_touch (mark, when); - } else { - _controllable->stop_touch (false, _controllable->session().transport_frame()); - } + _controllable->stop_touch (_controllable->session().transport_frame()); } bool |