Browse Source

Projucer: Ensure that explicitly set module paths are prioritised over the global path when searching

tags/2021-05-28
ed 7 years ago
parent
commit
059c2e12ed
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 8
- 0
extras/Projucer/Source/Project/jucer_Project.cpp View File

@@ -1935,6 +1935,14 @@ void Project::rescanExporterPathModules (bool async)
ModuleIDAndFolder Project::getModuleWithID (const String& id)
{
if (! getEnabledModules().shouldUseGlobalPath (id))
{
const auto& mod = exporterPathsModuleList->getModuleWithID (id);
if (mod.second != File())
return mod;
}
const auto& list = (isJUCEModule (id) ? ProjucerApplication::getApp().getJUCEPathModuleList().getAllModules()
: ProjucerApplication::getApp().getUserPathsModuleList().getAllModules());


Loading…
Cancel
Save