mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Ripple mode: fix undo of paste
Fix undo of region paste operations in ripple mode.
This commit is contained in:
parent
83ae6beca5
commit
cabd3783fe
1 changed files with 6 additions and 1 deletions
|
|
@ -1441,6 +1441,11 @@ RouteTimeAxisView::paste (framepos_t pos, float times, Selection& selection, siz
|
|||
pl->ripple(pos, amount * times, boost::shared_ptr<Region>());
|
||||
}
|
||||
pl->paste (*p, pos, times);
|
||||
|
||||
vector<Command*> cmds;
|
||||
pl->rdiff (cmds);
|
||||
_session->add_commands (cmds);
|
||||
|
||||
_session->add_command (new StatefulDiffCommand (pl));
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue