Browse Source

VST3 Host: Fix PluginDescription::category fetched from moduleinfo.json

v7.0.9
reuk 2 years ago
parent
commit
6694160fab
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp

+ 6
- 1
modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp View File

@@ -217,7 +217,12 @@ static std::vector<PluginDescription> createPluginDescriptions (const File& plug
description.deprecatedUid = getHashForRange (uid->data());
description.uniqueId = getHashForRange (getNormalisedTUID (uid->data()));
description.category = CharPointer_UTF8 (c.category.c_str());
StringArray categories;
for (const auto& category : c.subCategories)
categories.add (CharPointer_UTF8 (category.c_str()));
description.category = categories.joinIntoString ("|");
description.isInstrument = std::any_of (c.subCategories.begin(),
c.subCategories.end(),


Loading…
Cancel
Save