From 5df169fe5df3eae08018994b68268231a621a79c Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Mon, 26 Nov 2018 20:35:55 +0000 Subject: [PATCH] VST3: Fixed a bug with JUCE_FORCE_USE_LEGACY_PARAM_IDS and the bypass parameter --- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 5d9aa4645d..a3375a1b24 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -198,7 +198,7 @@ private: { // we need to remain backward compatible with the old bypass id if (vst3WrapperProvidedBypassParam) - vstParamID = static_cast (isUsingManagedParameters() ? paramBypass : numParameters); + vstParamID = static_cast ((isUsingManagedParameters() && ! forceLegacyParamIDs) ? paramBypass : numParameters); bypassParamID = vstParamID; }