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 993a52e0f8..a842e1c5ac 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1628,14 +1628,8 @@ public: } if (type == Vst::kAudio) - { - // don't allow disabling the main bus - if (state == 0 && index == 0) - return kResultFalse; - if (AudioProcessor::Bus* bus = pluginInstance->getBus (dir == Vst::kInput, index)) return (bus->enable (state != 0) ? kResultTrue : kResultFalse); - } return kResultFalse; }