Browse Source

Fix lv2 plugins as bridges not showing bridged custom UI

tags/v1.9.9
falkTX 7 years ago
parent
commit
086bfcc011
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

@@ -1454,7 +1454,6 @@ public:
fUI.window->setChildWindow(fUI.widget);
fUI.window->setTitle(fLv2Options.windowTitle);
}

}

CARLA_SAFE_ASSERT(fUI.handle != nullptr);
@@ -5432,10 +5431,15 @@ public:
const LV2_Property uiType(fUI.rdfDescriptor->Type);

if (
(iFinal == eQt4 || iFinal == eQt5 || iFinal == eGtk2 || iFinal == eGtk3 ||
iFinal == eCocoa || iFinal == eWindows || iFinal == eX11)
(iFinal == eQt4 ||
iFinal == eQt5 ||
iFinal == eGtk2 ||
iFinal == eGtk3 ||
iFinal == eCocoa ||
iFinal == eWindows ||
iFinal == eX11)
#ifdef BUILD_BRIDGE
&& preferUiBridges && ! hasShowInterface
&& ! hasShowInterface
#endif
)
{


Loading…
Cancel
Save