[QGIS Commit] r15397 - trunk/qgis/src/core/raster

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Mar 9 01:25:11 EST 2011


Author: rblazek
Date: 2011-03-08 22:25:11 -0800 (Tue, 08 Mar 2011)
New Revision: 15397

Modified:
   trunk/qgis/src/core/raster/qgsrasterlayer.cpp
Log:
stretch to current extent with reprojection fix

Modified: trunk/qgis/src/core/raster/qgsrasterlayer.cpp
===================================================================
--- trunk/qgis/src/core/raster/qgsrasterlayer.cpp	2011-03-09 05:56:00 UTC (rev 15396)
+++ trunk/qgis/src/core/raster/qgsrasterlayer.cpp	2011-03-09 06:25:11 UTC (rev 15397)
@@ -4280,7 +4280,7 @@
       viewPort->mDrawnExtent.xMaximum(),
       viewPort->mDrawnExtent.yMaximum()
     );
-    mDataProvider->readBlock( bandNo, partExtent, viewPort->drawableAreaXDim, viewPort->drawableAreaYDim, QgsCoordinateReferenceSystem(), QgsCoordinateReferenceSystem(), data );
+    mDataProvider->readBlock( bandNo, partExtent, viewPort->drawableAreaXDim, viewPort->drawableAreaYDim, viewPort->mSrcCRS, viewPort->mDestCRS, data );
   }
   return data;
 }



More information about the QGIS-commit mailing list