Skip to content
Browse files
Disable RenderPartialOutput Setting in printing. It is unused in prin…
…ting, even worse it causes the creation of a background QImage, which is a memory problem in large-format printing
  • Loading branch information
mhugent committed May 22, 2018
1 parent e8e15d5 commit 31a9571855068fce6191c3c3b6d9231f7ef97c7c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/composer/qgscomposermap.cpp
@@ -236,6 +236,7 @@ QgsMapSettings QgsComposerMap::mapSettings( const QgsRectangle& extent, QSizeF s
//if outputing composer, disable optimisations like layer simplification
jobMapSettings.setFlag( QgsMapSettings::UseRenderingOptimization, false );
jobMapSettings.setFlag( QgsMapSettings::RenderPartialOutput, false );

QgsExpressionContext* context = createExpressionContext();

0 comments on commit 31a9571

Please sign in to comment.