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); }