Remove some redundant calls to snap_to(). get_preferred_edit_position() already...
[ardour.git] / gtk2_ardour / editor_keys.cc
index 2be9f8d6de3fc56878e342421ee1a85c1aa6b287..acf7d2a14308b95c04dd4659bcbdcbc5f6aa52cb 100644 (file)
@@ -51,9 +51,6 @@ Editor::keyboard_selection_finish (bool /*add*/, Editing::EditIgnoreOption ign)
                        end = get_preferred_edit_position(ign);
                }
 
-               //snap the selection start/end
-               snap_to (start);
-
                //if no tracks are selected and we're working from the keyboard, enable all tracks (_something_ has to be selected for any range selection)
                if ( (_edit_point == EditAtPlayhead) && selection->tracks.empty() )
                        select_all_tracks();
@@ -80,9 +77,6 @@ Editor::keyboard_selection_begin (Editing::EditIgnoreOption ign)
                        start.sample = get_preferred_edit_position(ign);
                }
 
-               //snap the selection start/end
-               snap_to(start);
-
                //if there's not already a sensible selection endpoint, go "forever"
                if (start.sample > end.sample) {
 #ifdef MIXBUS