Showing with 7 additions and 1 deletion.
  1. +7 −1 src/core/composer/qgscomposermap.cpp
8 changes: 7 additions & 1 deletion src/core/composer/qgscomposermap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,13 @@ void QgsComposerMap::draw( QPainter *painter, const QgsRectangle& extent, const
{
theRendererContext->setDrawEditingInformation( false );
theRendererContext->setRenderingStopped( false );
theRendererContext->setRenderingPrintComposition( true );

if ( mComposition->plotStyle() == QgsComposition::Print ||
mComposition->plotStyle() == QgsComposition::Postscript )
{
//if outputing composer, disable optimisations like layer simplification
theRendererContext->setRenderingPrintComposition( true );
}

// force vector output (no caching of marker images etc.)
theRendererContext->setForceVectorOutput( true );
Expand Down