Skip to content

Commit a1e62a8

Browse files
committed
Disable checkboard temporary image for xyz layers
1 parent 5e765c9 commit a1e62a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/providers/wms/qgswmsprovider.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,9 @@ QImage *QgsWmsProvider::draw( QgsRectangle const & viewExtent, int pixelWidth, i
787787
// while loading the right resolution
788788

789789
p.setCompositionMode( QPainter::CompositionMode_Source );
790+
#if 0 // for debugging
790791
p.fillRect( image->rect(), QBrush( Qt::lightGray, Qt::CrossPattern ) );
792+
#endif
791793
p.setRenderHint( QPainter::SmoothPixmapTransform, false ); // let's not waste time with bilinear filtering
792794

793795
QList<TileImage> lowerResTiles, lowerResTiles2, higherResTiles;

0 commit comments

Comments
 (0)