- find_paths_matching_filter (plugin_objects, path, mac_vst_filter, 0, true, true, false);
+ if (Session::get_disable_all_loaded_plugins ()) {
+ info << _("Disabled MacVST scan (safe mode)") << endmsg;
+ return -1;
+ }
+
+ find_paths_matching_filter (plugin_objects, path, mac_vst_filter, 0, true, true, true);