gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit a37b5031161778dfaa9918936dc707f39d074ca9
parent 7a99bb4f0156310aa717e6da0ae077e450a073d9
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sat, 29 Jun 2024 13:52:22 +0200

fix empty factory category because loaded factory patches are overwritten by cache load, fixes #209

Diffstat:
Msource/virusJucePlugin/PatchManager.cpp | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/virusJucePlugin/PatchManager.cpp b/source/virusJucePlugin/PatchManager.cpp @@ -26,8 +26,9 @@ namespace genericVirusUI { setTagTypeName(pluginLib::patchDB::TagType::CustomA, "Virus Model"); setTagTypeName(pluginLib::patchDB::TagType::CustomB, "Virus Features"); - - addRomPatches(); + + addGroupTreeItemForTag(pluginLib::patchDB::TagType::CustomA); + addGroupTreeItemForTag(pluginLib::patchDB::TagType::CustomB); startLoaderThread(); @@ -54,8 +55,7 @@ namespace genericVirusUI } }; - addGroupTreeItemForTag(pluginLib::patchDB::TagType::CustomA); - addGroupTreeItemForTag(pluginLib::patchDB::TagType::CustomB); + addRomPatches(); } PatchManager::~PatchManager()