From 6989e5b11d4fb2153fe4c18378dcbd7dc9c8ceae Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 24 Feb 2018 10:53:03 -0600 Subject: Snap-to-grid should not invalidate other snap options. This was a leftover behavior from prior iterations of Snap+Grid. --- gtk2_ardour/editor.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 9fda261113..04d6a72ec7 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -2869,11 +2869,6 @@ Editor::snap_to_internal (MusicSample& start, RoundMode direction, SnapPref pref /* check Grid */ if (UIConfiguration::instance().get_snap_to_grid() && (_grid_type != GridTypeNone)) { - - /* if SnapToGrid is selected, the user wants to prioritize the music grid - * in this case we should reset the best distance, so Grid will prevail */ - dist = max_samplepos; - test = snap_to_grid (grid_marks, presnap, direction); check_best_snap(presnap, test, dist, best); } -- cgit v1.2.3