diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 00a966aa2c..ac66e4feda 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4224,6 +4224,9 @@ Route::shift (samplepos_t pos, samplecnt_t samples) boost::shared_ptr ac = (*i)->automation_control (*p); if (ac) { boost::shared_ptr al = ac->alist(); + if (al->empty ()) { + continue; + } XMLNode &before = al->get_state (); al->shift (pos, samples); XMLNode &after = al->get_state ();