13
0

non-GUI startup should only use plugin cache and not discover new ones

This commit is contained in:
Paul Davis 2019-10-24 21:06:20 -06:00
parent 015eb03bd5
commit 64af49f6c3

View File

@ -623,10 +623,15 @@ ARDOUR::init_post_engine (uint32_t start_cnt)
if (start_cnt == 0) {
/* find plugins */
if (!running_from_gui) {
ARDOUR::PluginManager::instance().refresh (false);
/* find plugins, but only using the existing cache (i.e. do
* not discover new ones. GUIs are responsible for
* invoking this themselves after the engine is
* started, with whatever options they want.
*/
ARDOUR::PluginManager::instance().refresh (true);
}
if ((node = Config->control_protocol_state()) != 0) {