Browse Source

Fix callback recursion on carla-plugin patchbay group moves

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
5ce90bcdad
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/backend/engine/CarlaEngineNative.cpp

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

@@ -1871,7 +1871,7 @@ bool CarlaEngineNativeUI::msgReceived(const char* const msg) noexcept
CARLA_SAFE_ASSERT_RETURN(readNextLineAsInt(y2), true);

try {
ok = fEngine->patchbaySetGroupPos(true, false, external, groupId, x1, y1, x2, y2);
ok = fEngine->patchbaySetGroupPos(false, true, external, groupId, x1, y1, x2, y2);
} CARLA_SAFE_EXCEPTION("patchbaySetGroupPos");
}
else if (std::strcmp(msg, "patchbay_refresh") == 0)


Loading…
Cancel
Save