Browse Source

Fix for a previous commit

tags/1.9.6
falkTX 10 years ago
parent
commit
cc0b079173
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/backend/engine/CarlaEngine.cpp

+ 2
- 2
source/backend/engine/CarlaEngine.cpp View File

@@ -524,6 +524,8 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype,
if (plugin == nullptr) if (plugin == nullptr)
return false; return false;


plugin->reload();

bool canRun = true; bool canRun = true;


/**/ if (pData->options.processMode == ENGINE_PROCESS_MODE_CONTINUOUS_RACK) /**/ if (pData->options.processMode == ENGINE_PROCESS_MODE_CONTINUOUS_RACK)
@@ -559,8 +561,6 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype,
return false; return false;
} }


plugin->reload();

#if defined(HAVE_LIBLO) && ! defined(BUILD_BRIDGE) #if defined(HAVE_LIBLO) && ! defined(BUILD_BRIDGE)
plugin->registerToOscClient(); plugin->registerToOscClient();
#endif #endif


Loading…
Cancel
Save