Mercurial > hg > svgui
changeset 679:41029a6e55c6
Make some debug output optional
author | Chris Cannam |
---|---|
date | Thu, 21 Nov 2013 12:59:20 +0000 |
parents | d8bd193ad17d |
children | ced5f158eda7 eaf4446a1bef |
files | layer/Colour3DPlotLayer.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp Mon Nov 04 15:48:05 2013 +0000 +++ b/layer/Colour3DPlotLayer.cpp Thu Nov 21 12:59:20 2013 +0000 @@ -1350,11 +1350,11 @@ QImage *source = m_cache; - std::cerr << "modelResolution " << modelResolution << ", srRatio " + SVDEBUG << "modelResolution " << modelResolution << ", srRatio " << srRatio << ", m_peakResolution " << m_peakResolution << ", zoomLevel " << zoomLevel << ", result " << ((modelResolution * srRatio * m_peakResolution) / zoomLevel) - << std::endl; + << endl; if (m_peaksCache) { if (((modelResolution * srRatio * m_peakResolution) / zoomLevel) < 1) { @@ -1362,10 +1362,10 @@ source = m_peaksCache; modelResolution *= m_peakResolution; } else { - std::cerr << "not using peaks cache" << std::endl; + SVDEBUG << "not using peaks cache" << endl; } } else { - std::cerr << "have no peaks cache" << std::endl; + SVDEBUG << "have no peaks cache" << endl; } int psy1i = -1;