Skip to content

Commit

Permalink
[raster] fix raster blending (fixes #16546)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed May 13, 2017
1 parent 6fe459d commit 93c59f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/raster/qgsrasterdrawer.cpp
Expand Up @@ -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...
Expand Down

0 comments on commit 93c59f4

Please sign in to comment.