# HG changeset patch # User Chris Cannam # Date 1487841776 0 # Node ID 3ec95b7d1bfcf8eecfcde5063328c25fc5e71b81 # Parent d5af42f08ba3c9e7d71e5bb2a196ce2668b5351c Debug notes, tidying diff -r d5af42f08ba3 -r 3ec95b7d1bfc layer/Colour3DPlotLayer.cpp --- 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; }