Skip to content
Permalink
Browse files
test if crs are equal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15731 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Apr 16, 2011
1 parent c10c0e5 commit 656e37743b8aaccd0d1428e7beb0f18cab06d71b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsrasterdataprovider.cpp
@@ -29,7 +29,7 @@ void QgsRasterDataProvider::readBlock( int bandNo, QgsRectangle const & viewExt
QgsDebugMsg( "Entered" );
QgsDebugMsg( "viewExtent = " + viewExtent.toString() );

if ( ! theSrcCRS.isValid() || ! theDestCRS.isValid() )
if ( ! theSrcCRS.isValid() || ! theDestCRS.isValid() || theSrcCRS == theDestCRS )
{
readBlock( bandNo, viewExtent, width, height, data );
return;

0 comments on commit 656e377

Please sign in to comment.