Add MIDI control points only in internal/pencil.
authorDavid Robillard <d@drobilla.net>
Fri, 5 Dec 2014 03:40:39 +0000 (22:40 -0500)
committerDavid Robillard <d@drobilla.net>
Fri, 5 Dec 2014 03:40:39 +0000 (22:40 -0500)
gtk2_ardour/automation_region_view.cc

index f7c2b6b642081fef1207a9b257be51ae53a7c8d1..d44615d79a5147faebc42fcef19500b4e7e90cfd 100644 (file)
@@ -120,8 +120,7 @@ AutomationRegionView::canvas_group_event (GdkEvent* ev)
        } else if (ev->type == GDK_BUTTON_RELEASE) {
                if (e.drags()->end_grab (ev)) {
                        return true;
-               } else if (e.current_mouse_mode() != Editing::MouseObject &&
-                          e.current_mouse_mode() == Editing::MouseDraw) {
+               } else if (e.current_mouse_mode() != Editing::MouseDraw) {
                        return false;
                }