From 3cbb05cbe97f517288700cff9fd35cfce8389288 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 24 Apr 2012 03:18:02 +0000 Subject: [PATCH] move the point at which PannersLegal is emitted (thus resetting panners). It used to done during Session::hookup_io() which seems wrong, since ports and all that already exist. now moved to before the point at which we call ControlProtocolManager::set_session() so that control protocols see Routes with Panners already set up git-svn-id: svn://localhost/ardour2/branches/3.0@12072 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 80dbd98963..3f3b6eb001 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -538,6 +538,10 @@ Session::when_engine_running () BootMessage (_("Setup signal flow and plugins")); +/* Reset all panners */ + + Delivery::reset_panners (); + /* this will cause the CPM to instantiate any protocols that are in use * (or mandatory), which will pass it this Session, and then call * set_state() on each instantiated protocol to match stored state. @@ -840,10 +844,6 @@ Session::hookup_io () IO::enable_connecting (); MIDI::JackMIDIPort::MakeConnections (); - /* Now reset all panners */ - - Delivery::reset_panners (); - /* Anyone who cares about input state, wake up and do something */ IOConnectionsComplete (); /* EMIT SIGNAL */