fix for Route::shift/insert-time
git-svn-id: svn://localhost/ardour2/branches/3.0@8225 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f176612086
commit
d28ecb2b93
@ -3249,6 +3249,7 @@ Route::shift (framepos_t pos, framecnt_t frames)
|
|||||||
|
|
||||||
for (uint32_t p = 0; p < npans; ++p) {
|
for (uint32_t p = 0; p < npans; ++p) {
|
||||||
pc = _main_outs->panner()->pan_control (0, p);
|
pc = _main_outs->panner()->pan_control (0, p);
|
||||||
|
if (pc) {
|
||||||
boost::shared_ptr<AutomationList> al = pc->alist();
|
boost::shared_ptr<AutomationList> al = pc->alist();
|
||||||
XMLNode& before = al->get_state ();
|
XMLNode& before = al->get_state ();
|
||||||
al->shift (pos, frames);
|
al->shift (pos, frames);
|
||||||
@ -3256,6 +3257,7 @@ Route::shift (framepos_t pos, framecnt_t frames)
|
|||||||
_session.add_command (new MementoCommand<AutomationList> (*al.get(), &before, &after));
|
_session.add_command (new MementoCommand<AutomationList> (*al.get(), &before, &after));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* redirect automation */
|
/* redirect automation */
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user