From e67fcd6aba496a8db594148e331fded50762d246 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 20 Jan 2021 16:20:36 -0600 Subject: [PATCH] Bug 2625 - Nyquist plug-ins Presets fail for plug-ins with "time" widgets --- src/effects/nyquist/Nyquist.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index b8fd50f0d..97481b826 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -527,14 +527,12 @@ int NyquistEffect::SetLispVarsFromParameters(CommandParameters & parms, bool bTe if (good && !bTestOnly) ctrl.valStr = val; } -/* else if (ctrl.type == NYQ_CTRL_TEXT) { // This "control" is just fixed text (nothing to save or restore), // Does not count for good/bad counting. good = true; } -*/ badCount += !good ? 1 : 0; } return badCount; @@ -2640,7 +2638,7 @@ bool NyquistEffect::TransferDataFromEffectWindow() { NyqControl *ctrl = &mControls[i]; - if (ctrl->type == NYQ_CTRL_STRING) + if (ctrl->type == NYQ_CTRL_STRING || ctrl->type == NYQ_CTRL_TEXT) { continue; }