diff layer/Colour3DPlotRenderer.cpp @ 1099:5c6271734790 spectrogram-minor-refactor

Switch in "standard" colour scale, bin scale, normalisation -- not quite handled elegantly or correctly yet
author Chris Cannam
date Wed, 13 Jul 2016 10:00:21 +0100
parents 92ac1fce7102
children 102f986ec032
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp	Mon Jul 11 17:19:36 2016 +0100
+++ b/layer/Colour3DPlotRenderer.cpp	Wed Jul 13 10:00:21 2016 +0100
@@ -175,7 +175,7 @@
     // well as horizontal. That's why this function didn't take any
     // y/height parameters.
 
-    if (bufferIsBinResolution) {
+    if (bufferIsBinResolution && (m_params.binDisplay != PeakFrequencies)) {
         renderToCacheBinResolution(v, x0, x1 - x0);
     } else {
         renderToCachePixelResolution(v, x0, x1 - x0, rightToLeft, timeConstrained);