Skip to content
Permalink
Browse files

Contrast enhancement in 'updated extent': fix taking into account OTF…

… mode
  • Loading branch information
rouault committed Dec 26, 2016
1 parent 47e5a5f commit 1605a833c065cbbe2a3c0b5b8b9fb6444fe14c6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayerrenderer.cpp
@@ -179,7 +179,7 @@ QgsRasterLayerRenderer::QgsRasterLayerRenderer( QgsRasterLayer* layer, QgsRender
mPipe = new QgsRasterPipe( *layer->pipe() );
QgsRasterRenderer* rasterRenderer = mPipe->renderer();
if ( rasterRenderer )
layer->refreshRendererIfNeeded( rasterRenderer, myRasterExtent );
layer->refreshRendererIfNeeded( rasterRenderer, rendererContext.extent() );
}

QgsRasterLayerRenderer::~QgsRasterLayerRenderer()

0 comments on commit 1605a83

Please sign in to comment.
You can’t perform that action at this time.