Skip to content

Commit 31a9571

Browse files
committedMay 22, 2018
Disable RenderPartialOutput Setting in printing. It is unused in printing, even worse it causes the creation of a background QImage, which is a memory problem in large-format printing
1 parent e8e15d5 commit 31a9571

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/composer/qgscomposermap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ QgsMapSettings QgsComposerMap::mapSettings( const QgsRectangle& extent, QSizeF s
236236
{
237237
//if outputing composer, disable optimisations like layer simplification
238238
jobMapSettings.setFlag( QgsMapSettings::UseRenderingOptimization, false );
239+
jobMapSettings.setFlag( QgsMapSettings::RenderPartialOutput, false );
239240
}
240241

241242
QgsExpressionContext* context = createExpressionContext();

0 commit comments

Comments
 (0)
Please sign in to comment.