From b90c38639ae7ad8f7fe0bb605b1eecd9b981cdac Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 25 Mar 2015 14:42:44 +0100 Subject: [PATCH] fix drags crossing automation lanes. --- gtk2_ardour/editor_drag.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 9be9b63c92..57d4d1f067 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -823,7 +823,9 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move) */ delta_layer = current_pointer_layer - _last_pointer_layer; - } else if (current_pointer_y() >= 0 && _last_pointer_time_axis_view >= 0) { + } + /* for automation lanes, there is a TimeAxisView but no ->view() */ + else if (!tv && current_pointer_y() >= 0 && _last_pointer_time_axis_view >= 0) { /* Moving into the drop-zone.. * * TODO allow moving further down in drop-zone: