Skip to content

Commit

Permalink
Contrast enhancement in 'updated extent': fix taking into account OTF…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
rouault committed Dec 26, 2016
1 parent 47e5a5f commit 1605a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayerrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1605a83

Please sign in to comment.