Add a PianoKeyboard to GenericUI (on a MIDI track)
[ardour.git] / gtk2_ardour / automation_controller.cc
index c151b72d14d431c716644af5f4a43d7f19748372..d53c61432ebcc0f06e04855d563aeb71e18fa6d2 100644 (file)
@@ -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