Skip to content

Commit 55588f6

Browse files
author
rblazek
committed
test if crs are equal
git-svn-id: http://svn.osgeo.org/qgis/trunk@15731 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ffdb70e commit 55588f6

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)