commit 90601ec0d261d5362706b73a03508d4d8b8545c9
parent d37db12a60cc7affae4e116b39cd19ddd2409109
Author: jatinchowdhury18 <jatinchowdhury18@gmail.com>
Date: Fri, 11 Mar 2022 09:05:18 +0000
CLAP: update to 0.21, and seems like everything is working! (#247)
* Update to clap HEAD
* CLAP: update to 0.21, and seems like everything is working
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Plugin/Installers/windows/ChowTapeModel_Install_Script.iss b/Plugin/Installers/windows/ChowTapeModel_Install_Script.iss
@@ -34,7 +34,7 @@ Name: "VST3_64"; Description: "VST3 Plugin 64-bit"; Types: full
Name: "VST_64"; Description: "VST Plugin 64-bit"; Types: full
Name: "VST3_32"; Description: "VST3 Plugin 32-bit"; Types: full
Name: "VST_32"; Description: "VST Plugin 32-bit"; Types: full
-Name: "CLAP_64"; Description: "Clap (64-bit, Clap 0.18)"; Types: full
+Name: "CLAP_64"; Description: "Clap (64-bit, Clap 0.21)"; Types: full
Name: "Standalone"; Description: "Standalone Plugin"; Types: full
Name: "AAX"; Description: "AAX Plugin"; Types: full
diff --git a/Plugin/Source/GUI/OnOff/OnOffManager.cpp b/Plugin/Source/GUI/OnOff/OnOffManager.cpp
@@ -16,7 +16,13 @@ const std::unordered_map<String, StringArray> triggerMap {
void toggleEnableDisable (Component* root, StringArray& compNames, bool shouldBeEnabled)
{
- if (root == nullptr || compNames.isEmpty())
+ if (root == nullptr)
+ {
+ jassertfalse;
+ return;
+ }
+
+ if (compNames.isEmpty())
return;
for (auto child : root->getChildren())