comparison layer/Colour3DPlotLayer.cpp @ 1244:3ec95b7d1bfc

Debug notes, tidying
author Chris Cannam
date Thu, 23 Feb 2017 09:22:56 +0000
parents b10bd0611d16
children f0e291fa7b9c
comparison
equal deleted inserted replaced
1243:d5af42f08ba3 1244:3ec95b7d1bfc
1069 } else if (m_normalization == ColumnNormalization::Hybrid) { 1069 } else if (m_normalization == ColumnNormalization::Hybrid) {
1070 minValue = 0; 1070 minValue = 0;
1071 maxValue = log10(m_model->getMaximumLevel() + 1.0); 1071 maxValue = log10(m_model->getMaximumLevel() + 1.0);
1072 } 1072 }
1073 1073
1074 SVDEBUG << "Colour3DPlotLayer: rebuilding renderer, value range is "
1075 << minValue << " -> " << maxValue << endl;
1076
1074 if (maxValue <= minValue) { 1077 if (maxValue <= minValue) {
1075 maxValue = minValue + 0.1f; 1078 maxValue = minValue + 0.1f;
1076 } 1079 }
1077 1080
1078 cparams.minValue = minValue; 1081 cparams.minValue = minValue;