From 979dbf91b94b485755ad6bb55ac32f4be7f3d634 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 24 Jan 2007 18:43:14 +0000 Subject: [PATCH] allow control points with the same x (pixel) coordinate, now that libart_lgpl does too git-svn-id: svn://localhost/ardour2/trunk@1380 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_line.cc | 5 ++--- gtk2_ardour/editor_selection.cc | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 1dc62f1f42..5598689855 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -642,11 +642,10 @@ AutomationLine::determine_visible_control_points (ALPoints& points) if (view_index && pi != npoints && /* not the first, not the last */ (((this_rx == prev_rx) && (this_ry == prev_ry)) || /* same point */ - (this_rx == prev_rx) || /* identical x coordinate */ (((this_rx - prev_rx) < (box_size + 2)) && /* not identical, but still too close horizontally */ - ((abs ((int)(this_ry - prev_ry)) < (int) (box_size + 2)))))) { /* too close vertically */ + (abs ((int)(this_ry - prev_ry)) < (int) (box_size + 2))))) { /* too close vertically */ continue; - } + } /* ok, we should display this point */ diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 9c976459ef..2cd16de312 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -497,8 +497,6 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op, get_relevant_audio_tracks (relevant_tracks); - cerr << "finding selectables between " << first_frame << " and " << last_frame << endl; - for (set::iterator t = relevant_tracks.begin(); t != relevant_tracks.end(); ++t) { (*t)->get_selectables (first_frame, last_frame, -1.0, -1.0, results); }