Skip to content
Permalink
Browse files
Added some debug stuff only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 24, 2007
1 parent 182100a commit 506057784a3ba1f0ce0388360164fe7ec1257638
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/raster/qgsrasterlayer.cpp
@@ -1408,6 +1408,7 @@ void QgsRasterLayer::drawSingleBandGray(QPainter * theQPainter, QgsRasterViewPor
maxGrayDouble = 255.0;
}

QgsDebugMsg("Starting main render loop");
// print each point in myGdalScanData with equal parts R, G ,B o make it show as gray
for (int myColumnInt = 0; myColumnInt < theRasterViewPort->drawableAreaYDimInt; ++myColumnInt)
{
@@ -1456,6 +1457,7 @@ void QgsRasterLayer::drawSingleBandGray(QPainter * theQPainter, QgsRasterViewPor

CPLFree ( myGdalScanData );

QgsDebugMsg("Render done, preparing to copy to canvas");
//render any inline filters
filterLayer(&myQImage);

0 comments on commit 5060577

Please sign in to comment.