From a83de91ba0b2a7e60ffb51f6978fe9db759240aa Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Tue, 14 Sep 2021 15:57:43 -0400 Subject: [PATCH] Fix a problem launching Analyzer with Off 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);