Skip to content

Commit

Permalink
Added some debug stuff only
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@7219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 24, 2007
1 parent e916ad4 commit b09e807
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit b09e807

Please sign in to comment.