mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 05:06:31 +01:00
parent
ad51c7c2ba
commit
cbf38408c9
1 changed files with 5 additions and 2 deletions
|
|
@ -1844,6 +1844,9 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const changed_t
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* retain playlist, since clear_draggingview_list() deletes _primary RegionView* */
|
||||||
|
std::shared_ptr<ARDOUR::Playlist> primary_playlist = _primary->region ()->playlist ();
|
||||||
|
|
||||||
/* in the past this was done in the main iterator loop; no need */
|
/* in the past this was done in the main iterator loop; no need */
|
||||||
clear_draggingview_list ();
|
clear_draggingview_list ();
|
||||||
|
|
||||||
|
|
@ -1856,8 +1859,8 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const changed_t
|
||||||
|
|
||||||
/* Ripple marks & ranges if appropriate */
|
/* Ripple marks & ranges if appropriate */
|
||||||
|
|
||||||
if (_editor->should_ripple_all () && _primary->region ()->playlist ()) {
|
if (_editor->should_ripple_all ()) {
|
||||||
_editor->ripple_marks (_primary->region ()->playlist (), extent_min, extent_min.distance (extent_max));
|
_editor->ripple_marks (primary_playlist, extent_min, extent_min.distance (extent_max));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we've created new regions either by copying or moving
|
/* If we've created new regions either by copying or moving
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue