Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.cpp @ 1244:3ec95b7d1bfc
Debug notes, tidying
author | Chris Cannam |
---|---|
date | Thu, 23 Feb 2017 09:22:56 +0000 |
parents | b10bd0611d16 |
children | f0e291fa7b9c |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp Wed Feb 22 12:04:07 2017 +0000 +++ b/layer/Colour3DPlotLayer.cpp Thu Feb 23 09:22:56 2017 +0000 @@ -1071,6 +1071,9 @@ maxValue = log10(m_model->getMaximumLevel() + 1.0); } + SVDEBUG << "Colour3DPlotLayer: rebuilding renderer, value range is " + << minValue << " -> " << maxValue << endl; + if (maxValue <= minValue) { maxValue = minValue + 0.1f; }