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
This commit is contained in:
parent
d3187aa32a
commit
979dbf91b9
@ -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 */
|
||||
|
||||
|
@ -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<AudioTimeAxisView*>::iterator t = relevant_tracks.begin(); t != relevant_tracks.end(); ++t) {
|
||||
(*t)->get_selectables (first_frame, last_frame, -1.0, -1.0, results);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user