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:
parent
c1eabac438
commit
4fd0401752
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue