From 4b3e0fb839a0b55321ab58f7422d5aa382317891 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 8246073db..a0b7e379e 100644 --- a/source/backend/plugin/CarlaPluginVST2.cpp +++ b/source/backend/plugin/CarlaPluginVST2.cpp @@ -516,7 +516,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;