From 294de8d64ffc6d43356cd7697ca553af9b32f046 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 27 Jun 2023 09:42:14 -0600 Subject: [PATCH] no automation line event stuff for velocity tracks (for now) --- gtk2_ardour/editor_canvas_events.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk2_ardour/editor_canvas_events.cc b/gtk2_ardour/editor_canvas_events.cc index 244c8acefc..7dc3850352 100644 --- a/gtk2_ardour/editor_canvas_events.cc +++ b/gtk2_ardour/editor_canvas_events.cc @@ -374,6 +374,13 @@ Editor::canvas_stream_view_event (GdkEvent *event, ArdourCanvas::Item* item, Rou bool Editor::canvas_automation_track_event (GdkEvent *event, ArdourCanvas::Item* item, AutomationTimeAxisView *atv) { + if (atv->parameter().type() == MidiVelocityAutomation) { + /* no event handling for velocity tracks until we can make the + automation control affect note velocity. + */ + return false; + } + bool ret = false; switch (event->type) {