Browse Source

PluginDescription: Fall back to using deprecatedUID in createIdentifierString() if the new uniqueID is not known

v6.1.6
reuk 3 years ago
parent
commit
c229d160f9
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_audio_processors/processors/juce_PluginDescription.cpp

+ 2
- 1
modules/juce_audio_processors/processors/juce_PluginDescription.cpp View File

@@ -54,7 +54,8 @@ bool PluginDescription::matchesIdentifierString (const String& identifierString)
String PluginDescription::createIdentifierString() const
{
return pluginFormatName + "-" + name + getPluginDescSuffix (*this, uniqueId);
const auto idToUse = uniqueId != 0 ? uniqueId : deprecatedUid;
return pluginFormatName + "-" + name + getPluginDescSuffix (*this, idToUse);
}
std::unique_ptr<XmlElement> PluginDescription::createXml() const


Loading…
Cancel
Save