mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
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:
parent
6ae23a180e
commit
835a2b313e
@ -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() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user