Skip to content

Commit

Permalink
Disable checkboard temporary image for xyz layers
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 15, 2016
1 parent 5e765c9 commit a1e62a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit a1e62a8

Please sign in to comment.