diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-24 21:06:20 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-24 21:32:46 -0600 |
commit | 64af49f6c3f65a9d66ce8cf1923641c005e9828a (patch) | |
tree | 360d879b4232bd63fb816163bfacfe6cc5810b8a /libs/ardour/globals.cc | |
parent | 015eb03bd52b249b8708fd3ff059b220b461f977 (diff) |
non-GUI startup should only use plugin cache and not discover new ones
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 05d170768d..0e0b1087bd 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -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) { |