Browse Source

Avoid a small assertion when loading project file

tags/1.9.8
falkTX 7 years ago
parent
commit
38aefd3432
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/backend/engine/CarlaEngine.cpp

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

@@ -2307,7 +2307,8 @@ bool CarlaEngine::loadProjectInternal(water::XmlDocument& xmlDoc)
// handle connections
if (loadExternalConnections)
{
const bool isUsingExternal(pData->graph.isUsingExternal());
const bool isUsingExternal(pData->options.processMode != ENGINE_PROCESS_MODE_PATCHBAY ||
pData->graph.isUsingExternal());

for (XmlElement* elem = xmlElement->getFirstChildElement(); elem != nullptr; elem = elem->getNextElement())
{


Loading…
Cancel
Save