Disable checkboard temporary image for xyz layers

This commit is contained in:
Nyall Dawson 2016-09-15 23:31:23 +10:00
parent 5e765c962f
commit a1e62a8324

View File

@ -787,7 +787,9 @@ QImage *QgsWmsProvider::draw( QgsRectangle const & viewExtent, int pixelWidth, i
// while loading the right resolution
p.setCompositionMode( QPainter::CompositionMode_Source );
#if 0 // for debugging
p.fillRect( image->rect(), QBrush( Qt::lightGray, Qt::CrossPattern ) );
#endif
p.setRenderHint( QPainter::SmoothPixmapTransform, false ); // let's not waste time with bilinear filtering
QList<TileImage> lowerResTiles, lowerResTiles2, higherResTiles;