From e39fc1687df2858c7ffebd5188ef9f58b2fae1a5 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 14 Sep 2021 16:26:52 -0400 Subject: [PATCH] Fix a problem launching Analyzer with Off (#5092) Thanks jatin! Closes #5091 --- src/gui/overlays/WaveShaperAnalysis.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/overlays/WaveShaperAnalysis.cpp b/src/gui/overlays/WaveShaperAnalysis.cpp index cd3694126fa..94884b581ac 100644 --- a/src/gui/overlays/WaveShaperAnalysis.cpp +++ b/src/gui/overlays/WaveShaperAnalysis.cpp @@ -132,9 +132,6 @@ void WaveShaperAnalysis::valueChanged(Surge::GUI::IComponentTagValue *p) void WaveShaperAnalysis::recalcFromSlider() { - if (wstype == wst_none) - return; - sliderDrivenCurve.clear(); float dx = 1.f / (npts - 1);