Skip to content
Permalink
Browse files
Fix forced raster render
  • Loading branch information
nyalldawson committed Nov 23, 2021
1 parent 688dae4 commit 2b8f1373b201f7b8eb77fa9f5e8a8b5ca51a29e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsgrouplayerrenderer.cpp
@@ -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() ) );

0 comments on commit 2b8f137

Please sign in to comment.