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

VST3: Support loading a VST2 state when a plugin implements getCompatibleClasses()

This commit is contained in:
Anthony Nicholls 2024-08-21 10:11:55 +01:00
parent 2c606d6612
commit 0802db13ee

View file

@ -2811,6 +2811,9 @@ public:
#if JUCE_VST3_CAN_REPLACE_VST2
return true;
#else
if (auto extensions = pluginInstance->getVST3ClientExtensions())
return ! extensions->getCompatibleClasses().empty();
return false;
#endif
}