Skip to content
Permalink
Browse files

Disable RenderPartialOutput also in composer map preview

  • Loading branch information
mhugent committed May 24, 2018
1 parent 31a9571 commit 519c9db52927fbe9d81c66f8ea9d3e1fc55f0090
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposermap.cpp
@@ -230,13 +230,13 @@ QgsMapSettings QgsComposerMap::mapSettings( const QgsRectangle& extent, QSizeF s
jobMapSettings.setCrsTransformEnabled( ms.hasCrsTransformEnabled() );
jobMapSettings.setFlags( ms.flags() );
jobMapSettings.setFlag( QgsMapSettings::DrawSelection, false );
jobMapSettings.setFlag( QgsMapSettings::RenderPartialOutput, false );

if ( mComposition->plotStyle() == QgsComposition::Print ||
mComposition->plotStyle() == QgsComposition::Postscript )
{
//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 519c9db

Please sign in to comment.
You can’t perform that action at this time.