From aa6e612d6a674b2f868074d34dc91fad2fe754c4 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Sat, 8 Aug 2015 14:52:01 -0400 Subject: [PATCH] Move processor call out of scope canvas --- src/AppFrame.cpp | 2 +- src/visual/ScopeCanvas.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AppFrame.cpp b/src/AppFrame.cpp index 66291dd..842267c 100644 --- a/src/AppFrame.cpp +++ b/src/AppFrame.cpp @@ -679,7 +679,7 @@ void AppFrame::OnTimer(wxTimerEvent& event) { scopeCanvas->setPPMMode(demodTuner->isAltDown()); - + wxGetApp().getScopeProcessor()->run(); wxGetApp().getSpectrumDistributor()->run(); SpectrumVisualProcessor *proc = wxGetApp().getSpectrumProcesor(); diff --git a/src/visual/ScopeCanvas.cpp b/src/visual/ScopeCanvas.cpp index 88d6a33..268fe7b 100644 --- a/src/visual/ScopeCanvas.cpp +++ b/src/visual/ScopeCanvas.cpp @@ -52,7 +52,6 @@ void ScopeCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) { wxPaintDC dc(this); const wxSize ClientSize = GetClientSize(); - wxGetApp().getScopeProcessor()->run(); if (!inputData.empty()) { ScopeRenderData *avData; inputData.pop(avData);