Skip to content

Commit

Permalink
Fix forced raster render
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 23, 2021
1 parent 688dae4 commit 2b8f137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgrouplayerrenderer.cpp
Expand Up @@ -92,7 +92,7 @@ bool QgsGroupLayerRenderer::render()
QImage image;
QPainter *prevPainter = context.painter();
std::unique_ptr< QPainter > imagePainter;
if ( renderer->forceRasterRender() || true )
if ( renderer->forceRasterRender() )
{
image = QImage( context.deviceOutputSize(), context.imageFormat() );
image.setDevicePixelRatio( static_cast<qreal>( context.devicePixelRatio() ) );
Expand Down

0 comments on commit 2b8f137

Please sign in to comment.