Skip to content
Permalink
Browse files
[raster] fix raster blending (fixes #16546)
  • Loading branch information
nirvn committed May 13, 2017
1 parent 6fe459d commit 93c59f4e25cdfea7e703845891a907d6c1363ea8
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/raster/qgsrasterdrawer.cpp
@@ -102,7 +102,11 @@ void QgsRasterDrawer::draw( QPainter *p, QgsRasterViewPort *viewPort, const QgsM

delete block;

p->setCompositionMode( QPainter::CompositionMode_SourceOver ); // go back to the default composition mode
if ( feedback && feedback->renderPartialOutput() )
{
// go back to the default composition mode
p->setCompositionMode( QPainter::CompositionMode_SourceOver );
}

// ok this does not matter much anyway as the tile size quite big so most of the time
// there would be just one tile for the whole display area, but it won't hurt...

0 comments on commit 93c59f4

Please sign in to comment.