[Summary] Removed redundant and sometimes harmful actions from DnD reordering algorithm.

This commit is contained in:
GZharun 2014-08-22 17:59:50 +03:00
parent bb5c74fa62
commit dd9d40a4db

View file

@ -1584,12 +1584,6 @@ EditorRoutes::move_selected_tracks_relatively (const PBD::ID& source_track_id, c
boost::shared_ptr<Route> route = (*ri)[_columns.route];
TimeAxisView* tv = (*ri)[_columns.tv];
// source track: add to the move list
if (source_rtv->route()->id() == route->id() ) {
routes_to_move.push_back(route );
continue;
}
// selected tracks: add to the move list but if it's not a target
if (selection.selected(tv) &&
route->id() != target_track_id) {