From 6e656ce91dcbee070d1647bb717d3b58bc1e87a0 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 6 Feb 2019 08:58:33 +0100 Subject: [PATCH] Give up trying to follow VST2 spec, always assume UI opens nicely Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginVST2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/backend/plugin/CarlaPluginVST2.cpp b/source/backend/plugin/CarlaPluginVST2.cpp index e8d95f993..a7cf95403 100644 --- a/source/backend/plugin/CarlaPluginVST2.cpp +++ b/source/backend/plugin/CarlaPluginVST2.cpp @@ -510,7 +510,8 @@ public: value = (intptr_t)fUI.window->getDisplay(); #endif - if (dispatcher(effEditOpen, 0, value, fUI.window->getPtr()) != 0) + // NOTE: there are far too many broken VST2 plugins, don't bother checking return value + if (dispatcher(effEditOpen, 0, value, fUI.window->getPtr()) != 0 || true) { fUI.isOpen = true;