Skip to content

Commit 656e377

Browse files
author
rblazek
committedApr 16, 2011
test if crs are equal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15731 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c10c0e5 commit 656e377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsrasterdataprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void QgsRasterDataProvider::readBlock( int bandNo, QgsRectangle const & viewExt
2929
QgsDebugMsg( "Entered" );
3030
QgsDebugMsg( "viewExtent = " + viewExtent.toString() );
3131

32-
if ( ! theSrcCRS.isValid() || ! theDestCRS.isValid() )
32+
if ( ! theSrcCRS.isValid() || ! theDestCRS.isValid() || theSrcCRS == theDestCRS )
3333
{
3434
readBlock( bandNo, viewExtent, width, height, data );
3535
return;

0 commit comments

Comments
 (0)