diff layer/Colour3DPlotLayer.cpp @ 1137:4e7ed3252d80 spectrogram-minor-refactor

Re-implement dB^2 (log-power) spectrogram setting
author Chris Cannam
date Thu, 04 Aug 2016 11:26:11 +0100
parents b4b155cfd8b4
children 0edfed2c8482
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Wed Aug 03 16:16:23 2016 +0100
+++ b/layer/Colour3DPlotLayer.cpp	Thu Aug 04 11:26:11 2016 +0100
@@ -1036,7 +1036,7 @@
 
         ColourScale::Parameters cparams;
         cparams.colourMap = m_colourMap;
-        cparams.scale = m_colourScale;
+        cparams.scaleType = m_colourScale;
         cparams.gain = m_gain;
 
         if (m_normalization == ColumnNormalization::None) {