# HG changeset patch # User Chris Cannam # Date 1485518268 0 # Node ID 784c92f93fb6240e0873bd1fb644048b58911b1b # Parent dd3901fe86233e735d557a62a0b67a3d338e116d Looks like we can be a bit more relaxed here diff -r dd3901fe8623 -r 784c92f93fb6 layer/Colour3DPlotRenderer.cpp --- a/layer/Colour3DPlotRenderer.cpp Fri Jan 27 11:39:42 2017 +0000 +++ b/layer/Colour3DPlotRenderer.cpp Fri Jan 27 11:57:48 2017 +0000 @@ -105,11 +105,12 @@ } else if (m_secondsPerXPixelValid) { double predicted = m_secondsPerXPixel * rect.width(); -/#ifdef DEBUG_COLOUR_PLOT_REPAINT +#ifdef DEBUG_COLOUR_PLOT_REPAINT SVDEBUG << "Predicted time for width " << rect.width() << " = " - << predicted << endl; + << predicted << " (" << m_secondsPerXPixel << " x " + << rect.width() << ")" << endl; #endif - if (predicted < 0.1) { + if (predicted < 0.2) { #ifdef DEBUG_COLOUR_PLOT_REPAINT SVDEBUG << "Predicted time looks fast enough: no partial renders" << endl; @@ -1179,7 +1180,8 @@ m_secondsPerXPixelValid = (xPixelCount > 10); #ifdef DEBUG_COLOUR_PLOT_REPAINT - SVDEBUG << "seconds per x pixel = " << m_secondsPerXPixel + SVDEBUG << "across " << xPixelCount << " x-pixels, seconds per x-pixel = " + << m_secondsPerXPixel << " (enough data? " << (m_secondsPerXPixelValid ? "yes" : "no") << ")" << endl; #endif