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
This commit is contained in:
Paul Davis 2012-04-24 03:18:02 +00:00
parent 954b022e19
commit 3cbb05cbe9

View File

@ -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 */