mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Disable checkboard temporary image for xyz layers
This commit is contained in:
parent
5e765c962f
commit
a1e62a8324
@ -787,7 +787,9 @@ QImage *QgsWmsProvider::draw( QgsRectangle const & viewExtent, int pixelWidth, i
|
|||||||
// while loading the right resolution
|
// while loading the right resolution
|
||||||
|
|
||||||
p.setCompositionMode( QPainter::CompositionMode_Source );
|
p.setCompositionMode( QPainter::CompositionMode_Source );
|
||||||
|
#if 0 // for debugging
|
||||||
p.fillRect( image->rect(), QBrush( Qt::lightGray, Qt::CrossPattern ) );
|
p.fillRect( image->rect(), QBrush( Qt::lightGray, Qt::CrossPattern ) );
|
||||||
|
#endif
|
||||||
p.setRenderHint( QPainter::SmoothPixmapTransform, false ); // let's not waste time with bilinear filtering
|
p.setRenderHint( QPainter::SmoothPixmapTransform, false ); // let's not waste time with bilinear filtering
|
||||||
|
|
||||||
QList<TileImage> lowerResTiles, lowerResTiles2, higherResTiles;
|
QList<TileImage> lowerResTiles, lowerResTiles2, higherResTiles;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user