Skip to content

Commit

Permalink
Avoid clipped labels when painter clipping path region is active
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 2, 2020
1 parent 4e815b9 commit 1851ba3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsvectorlayerrenderer.cpp
Expand Up @@ -161,6 +161,8 @@ bool QgsVectorLayerRenderer::render()

QgsRenderContext &context = *renderContext();

QgsScopedQPainterState painterState( context.painter() );

// MUST be created in the thread doing the rendering
mInterruptionChecker = qgis::make_unique< QgsVectorLayerRendererInterruptionChecker >( context );
bool usingEffect = false;
Expand Down

0 comments on commit 1851ba3

Please sign in to comment.