Browse Source

Prevent a small assertion

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

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

@@ -1347,7 +1347,8 @@ protected:
uint32_t rindex = index;
if (CarlaPlugin* const plugin = _getPluginForParameterIndex(rindex))
{
plugin->uiParameterChange(rindex, value);
if (plugin->getHints() & PLUGIN_HAS_CUSTOM_UI)
plugin->uiParameterChange(rindex, value);

if (index >= kNumInParams || ! fUiServer.isPipeRunning())
return;


Loading…
Cancel
Save