Skip to content
Permalink
Browse files

stretch to current extent with reprojection fix

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15397 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Mar 9, 2011
1 parent 8d770e9 commit d15150e5bab413a0cee33a28db4eca9b06df349c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -4280,7 +4280,7 @@ void *QgsRasterLayer::readData( int bandNo, QgsRasterViewPort *viewPort )
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;
}

0 comments on commit d15150e

Please sign in to comment.
You can’t perform that action at this time.