Browse Source

Only use MODGUIs as last resort

tags/1.9.6
falkTX 10 years ago
parent
commit
4f801a6ca2
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      source/backend/plugin/CarlaPluginLV2.cpp

+ 8
- 4
source/backend/plugin/CarlaPluginLV2.cpp View File

@@ -5135,8 +5135,6 @@ public:
#endif
//else if (eExt >= 0) // TODO
// iFinal = eExt;
else if (eMod >= 0)
iFinal = eMod;
#ifndef LV2_UIS_ONLY_BRIDGES
# ifdef CARLA_OS_MAC
else if (iCocoa >= 0)
@@ -5178,8 +5176,14 @@ public:

if (! hasShowInterface)
{
carla_stderr("Failed to find an appropriate LV2 UI for this plugin");
return;
if (eMod < 0)
{
carla_stderr("Failed to find an appropriate LV2 UI for this plugin");
return;
}

// use MODGUI as last resort
iFinal = eMod;
}
}



Loading…
Cancel
Save