diff layer/SpectrogramLayer.cpp @ 1163:ab169938832a 3.0-integration

Use peak cache at one zoom level lower (since it exists at that level already -- this is a >= vs > question) + make naming more uniform
author Chris Cannam
date Tue, 08 Nov 2016 14:55:53 +0000
parents 0edfed2c8482
children 69ff93e0c624
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Fri Nov 04 16:44:59 2016 +0000
+++ b/layer/SpectrogramLayer.cpp	Tue Nov 08 14:55:53 2016 +0000
@@ -1421,7 +1421,7 @@
         sources.verticalBinLayer = this;
         sources.fft = getFFTModel();
         sources.source = sources.fft;
-        sources.peaks = getPeakCache();
+        sources.peakCache = getPeakCache();
 
         ColourScale::Parameters cparams;
         cparams.colourMap = m_colourMap;