Mercurial > hg > svgui
changeset 1244:3ec95b7d1bfc
Debug notes, tidying
author | Chris Cannam |
---|---|
date | Thu, 23 Feb 2017 09:22:56 +0000 |
parents | d5af42f08ba3 |
children | f0e291fa7b9c |
files | layer/Colour3DPlotLayer.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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; }