1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

VST3: Fix editor creation in Adobe Premiere Pro

See commit message of a1337a38 for more details
This commit is contained in:
ed 2021-07-22 11:43:51 +01:00
parent c1eabac438
commit 4fd0401752

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