Browse Source

Fix an assertion

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.2
falkTX 3 years ago
parent
commit
f8ad7434c7
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/CarlaEngine.cpp

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

@@ -983,7 +983,8 @@ bool CarlaEngine::clonePlugin(const uint id)

if (const CarlaPluginPtr newPlugin = pData->plugins[pluginCountBefore].plugin)
{
newPlugin->cloneLV2Files(*plugin);
if (newPlugin->getType() == PLUGIN_LV2)
newPlugin->cloneLV2Files(*plugin);
newPlugin->loadStateSave(plugin->getStateSave(true));
}



Loading…
Cancel
Save