mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
After dragging from multiple tracks to the dropzone, create the right number of new tracks.
This does not address the visual flattening that occurs before the drop is complete. Doing that is complex and there is no immediate solution visible. The result after the drop is complete is correct, however.
This commit is contained in:
parent
193a276e22
commit
bc2271b43e
1 changed files with 6 additions and 0 deletions
|
|
@ -1056,6 +1056,9 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const /*changed
|
|||
typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping;
|
||||
PlaylistMapping playlist_mapping;
|
||||
|
||||
typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping;
|
||||
PlaylistMapping playlist_mapping;
|
||||
|
||||
/* insert the regions into their new playlists */
|
||||
for (list<DraggingView>::const_iterator i = _views.begin(); i != _views.end();) {
|
||||
|
||||
|
|
@ -1145,6 +1148,9 @@ RegionMoveDrag::finished_no_copy (
|
|||
typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping;
|
||||
PlaylistMapping playlist_mapping;
|
||||
|
||||
typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping;
|
||||
PlaylistMapping playlist_mapping;
|
||||
|
||||
for (list<DraggingView>::const_iterator i = _views.begin(); i != _views.end(); ) {
|
||||
|
||||
RegionView* rv = i->view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue