Fix region paste (ctrl+v) undo.

This commit is contained in:
Robin Gareus 2015-05-28 13:18:59 +02:00
parent 9c6a821c67
commit 3f5d17dd24
1 changed files with 1 additions and 1 deletions

View File

@ -1613,7 +1613,7 @@ RouteTimeAxisView::paste (framepos_t pos, const Selection& selection, PasteConte
const framecnt_t duration = extent.second - extent.first;
pos += _editor.get_paste_offset(pos, ctx.count, duration);
pl->clear_changes ();
pl->clear_owned_changes ();
if (Config->get_edit_mode() == Ripple) {
std::pair<framepos_t, framepos_t> extent = (*p)->get_extent_with_endspace();
framecnt_t amount = extent.second - extent.first;