comparison 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
comparison
equal deleted inserted replaced
1162:081c7ebf1fea 1163:ab169938832a
1419 1419
1420 Colour3DPlotRenderer::Sources sources; 1420 Colour3DPlotRenderer::Sources sources;
1421 sources.verticalBinLayer = this; 1421 sources.verticalBinLayer = this;
1422 sources.fft = getFFTModel(); 1422 sources.fft = getFFTModel();
1423 sources.source = sources.fft; 1423 sources.source = sources.fft;
1424 sources.peaks = getPeakCache(); 1424 sources.peakCache = getPeakCache();
1425 1425
1426 ColourScale::Parameters cparams; 1426 ColourScale::Parameters cparams;
1427 cparams.colourMap = m_colourMap; 1427 cparams.colourMap = m_colourMap;
1428 cparams.scaleType = m_colourScale; 1428 cparams.scaleType = m_colourScale;
1429 cparams.multiple = m_colourScaleMultiple; 1429 cparams.multiple = m_colourScaleMultiple;