mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
[Summary] Removed redundant and sometimes harmful actions from DnD reordering algorithm.
This commit is contained in:
parent
bb5c74fa62
commit
dd9d40a4db
1 changed files with 0 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue