Browse Source

Force VST_PATH for dssi-vst, fixes loading of projects with it

tags/1.9.7
falkTX 8 years ago
parent
commit
0a024e77c0
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      source/backend/engine/CarlaEngine.cpp

+ 10
- 1
source/backend/engine/CarlaEngine.cpp View File

@@ -593,7 +593,16 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype,
break;

case PLUGIN_DSSI:
plugin = CarlaPlugin::newDSSI(initializer);
if (CarlaString(filename).contains("dssi-vst", true))
{
const ScopedEngineEnvironmentLocker _seel(this);
const ScopedEnvVar _sev("VST_PATH", pData->options.pathVST2);
plugin = CarlaPlugin::newDSSI(initializer);
}
else
{
plugin = CarlaPlugin::newDSSI(initializer);
}
break;

case PLUGIN_LV2:


Loading…
Cancel
Save