Do not clip rendered raster area in the provider.

It's the consumers (like layer renderer's) responsibility to crop
to a desired extent. The raster data provider should just return the
extent it was asked for.
This commit is contained in:
Matthias Kuhn 2019-07-20 14:23:23 +02:00
parent 6ae23a180e
commit 835a2b313e

View File

@ -60,7 +60,7 @@ QgsRasterBlock *QgsRasterDataProvider::block( int bandNo, QgsRectangle const &b
}
// Read necessary extent only
QgsRectangle tmpExtent = extent().intersect( boundingBox );
QgsRectangle tmpExtent = boundingBox;
if ( tmpExtent.isEmpty() )
{