From 4fd0401752f53d418b5108f220cbac685cafdcfd Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 22 Jul 2021 11:43:51 +0100 Subject: [PATCH] VST3: Fix editor creation in Adobe Premiere Pro See commit message of a1337a38 for more details --- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 4 +++- 1 file changed, 3 insertions(+), 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 10326eea16..88a2f66f8e 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1164,7 +1164,9 @@ public: const auto mayCreateEditor = pluginInstance->hasEditor() && name != nullptr && std::strcmp (name, Vst::ViewType::kEditor) == 0 - && (pluginInstance->getActiveEditor() == nullptr || getHostType().isAdobeAudition()); + && (pluginInstance->getActiveEditor() == nullptr + || getHostType().isAdobeAudition() + || getHostType().isPremiere()); if (mayCreateEditor) return new JuceVST3Editor (*this, *audioProcessor);