Browse Source

Some debug messages to help catch future issues

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
019b2b794c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      source/backend/engine/CarlaEngine.cpp
  2. +1
    -1
      source/backend/engine/CarlaEngineGraph.cpp

+ 3
- 0
source/backend/engine/CarlaEngine.cpp View File

@@ -3126,6 +3126,9 @@ bool CarlaEngine::loadProjectInternal(water::XmlDocument& xmlDoc, const bool alw

loadingAsExternal = ppos.pluginId < 0 || hasInternalPositions || !isPatchbay;

carla_debug("loadingAsExternal: %i because %i %i %i",
loadingAsExternal, ppos.pluginId < 0, hasInternalPositions, !isPatchbay);

if (name.isNotEmpty() && restorePatchbayGroupPosition(loadingAsExternal, ppos))
{
if (name != ppos.name)


+ 1
- 1
source/backend/engine/CarlaEngineGraph.cpp View File

@@ -2977,7 +2977,7 @@ bool CarlaEngine::restorePatchbayGroupPosition(const bool external, PatchbayPosi
}

uint groupId;
CARLA_SAFE_ASSERT_RETURN(graph->getGroupFromName(external, ppos.name, groupId), false);
CARLA_SAFE_ASSERT_INT_RETURN(graph->getGroupFromName(external, ppos.name, groupId), external, false);

graph->setGroupPos(true, true, external, groupId, ppos.x1, ppos.y1, ppos.x2, ppos.y2);



Loading…
Cancel
Save