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 5714ffb6f9b4e2441c0bdb61014a7e000539af71
parent 59a56845cdcb31446a96fa3490f4a030d392e699
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu, 26 May 2022 13:29:58 +0200

do not try to create backwards-compatible FX toggle if parameter was not found

Diffstat:
Msource/jucePlugin/ui3/FxPage.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/source/jucePlugin/ui3/FxPage.cpp b/source/jucePlugin/ui3/FxPage.cpp @@ -12,6 +12,9 @@ namespace genericVirusUI const auto delayReverbMode = _editor.getController().getParameterIndexByName(Virus::g_paramDelayReverbMode); const auto p = _editor.getController().getParamValueObject(delayReverbMode); + if(!p) + return; + const auto containerReverb = _editor.findComponent("ContainerReverb"); const auto containerDelay = _editor.findComponent("ContainerDelay");