Browse Source

VST3: Fix editor creation in Adobe Premiere Pro

See commit message of a1337a38 for more details
v6.1.6
ed 4 years ago
parent
commit
4fd0401752
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 3
- 1
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -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);


Loading…
Cancel
Save