From 191781e9dbf2d1aff39399ffc07434440c2d8a9d Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 22 Sep 2018 21:55:59 +0200 Subject: [PATCH] Fix for LV2 plugins with UI feedback ports in bridge mode --- source/backend/plugin/CarlaPlugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/backend/plugin/CarlaPlugin.cpp b/source/backend/plugin/CarlaPlugin.cpp index 4fb4b046e..f24fa8911 100644 --- a/source/backend/plugin/CarlaPlugin.cpp +++ b/source/backend/plugin/CarlaPlugin.cpp @@ -1587,7 +1587,8 @@ void CarlaPlugin::setCtrlChannel(const int8_t channel, const bool sendOsc, const void CarlaPlugin::setParameterValue(const uint32_t parameterId, const float value, const bool sendGui, const bool sendOsc, const bool sendCallback) noexcept { if (pData->engineBridged) { - CARLA_SAFE_ASSERT_RETURN(!sendGui,); + // NOTE: some LV2 plugins feedback messages to UI on purpose + CARLA_SAFE_ASSERT_RETURN(getType() == PLUGIN_LV2 || !sendGui,); } else if (pData->enginePlugin) { // nothing here } else {