diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 0eaabbb365..9a84262864 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -87,6 +87,12 @@ Track::~Track () int Track::init () { + if (!is_auditioner()) { + _triggerbox = boost::shared_ptr (new TriggerBox (_session, data_type ())); + _triggerbox->set_owner (this); + _triggerbox->add_midi_sidechain (); + } + if (Route::init ()) { return -1; } @@ -105,13 +111,6 @@ Track::init () * patchbays and elsewhere (or special-case code in those places) */ - if (!is_auditioner()) { - boost::shared_ptr tb (new TriggerBox (_session, data_type ())); - tb->set_owner (this); - add_processor (tb, _polarity); - tb->add_midi_sidechain (); - } - set_align_choice_from_io (); boost::shared_ptr rp (boost::dynamic_pointer_cast (shared_from_this()));