diff layer/Colour3DPlotRenderer.cpp @ 1412:79032214f79d

Debug tweaks
author Chris Cannam
date Wed, 19 Dec 2018 10:40:17 +0000
parents 7d28e7522dbd
children 6cf3cb6641e1
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp	Wed Dec 19 10:40:09 2018 +0000
+++ b/layer/Colour3DPlotRenderer.cpp	Wed Dec 19 10:40:17 2018 +0000
@@ -305,6 +305,14 @@
     }
 
     MagnitudeRange range = m_magCache.getRange(reqx0, reqx1 - reqx0);
+
+#ifdef DEBUG_COLOUR_PLOT_REPAINT
+    SVDEBUG << "render: returning rect rendered as " << pr.x() << "," << pr.y()
+            << " " << pr.width() << "x" << pr.height() << endl;
+    SVDEBUG << "render: mag range from cache in x-range " << reqx0
+            << " to " << reqx1 << " is " << range.getMin() << " -> "
+            << range.getMax() << endl;
+#endif
     
     return { pr, range };
 }