mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 14:46:34 +01:00
add variables to determine scope of potential ripple at end of drag
This commit is contained in:
parent
7bd03b68ee
commit
283e2103ba
1 changed files with 4 additions and 0 deletions
|
|
@ -1745,6 +1745,10 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const changed_t
|
|||
typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping;
|
||||
PlaylistMapping playlist_mapping;
|
||||
|
||||
/* determine boundaries of dragged regions, across all playlists */
|
||||
samplepos_t extent_min = max_samplepos;
|
||||
samplepos_t extent_max = 0;
|
||||
|
||||
/* insert the regions into their (potentially) new (or existing) playlists */
|
||||
for (list<DraggingView>::const_iterator i = _views.begin(); i != _views.end(); ++i) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue