diff --git a/Engine/OfxHost.cpp b/Engine/OfxHost.cpp index 9d51dcd83b..ecc8ee872a 100644 --- a/Engine/OfxHost.cpp +++ b/Engine/OfxHost.cpp @@ -875,9 +875,10 @@ OfxHost::loadOFXPlugins(IOPluginsMap* readersMap, /// register the image effect cache with the global plugin cache _imp->imageEffectPluginCache->registerInCache( *pluginCache ); - - pluginCache->setPluginHostPath(NATRON_APPLICATION_NAME); - pluginCache->setPluginHostPath("Nuke"); // most Nuke OFX plugins are compatible + if (useStdOFXPluginsLocation) { + pluginCache->setPluginHostPath(NATRON_APPLICATION_NAME); + pluginCache->setPluginHostPath("Nuke"); // most Nuke OFX plugins are compatible + } std::list extraPluginsSearchPaths; settings->getOpenFXPluginsSearchPaths(&extraPluginsSearchPaths); for (std::list::iterator it = extraPluginsSearchPaths.begin(); it != extraPluginsSearchPaths.end(); ++it) {