Skip to content

Commit

Permalink
OfxHost: do not use Natron and Nuke plugins if useStdOFXPluginsLocati…
Browse files Browse the repository at this point in the history
…on=false
  • Loading branch information
devernay committed Jul 11, 2021
1 parent a13b1ac commit 5f25abe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Engine/OfxHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> extraPluginsSearchPaths;
settings->getOpenFXPluginsSearchPaths(&extraPluginsSearchPaths);
for (std::list<std::string>::iterator it = extraPluginsSearchPaths.begin(); it != extraPluginsSearchPaths.end(); ++it) {
Expand Down

0 comments on commit 5f25abe

Please sign in to comment.