Skip to content
Permalink
Browse files
Followup 8b9e492, fix drawing of cached layer images
  • Loading branch information
nyalldawson committed Mar 27, 2017
1 parent 721131e commit 7387d7456c9e4a96d4dd80605867a371b275d7a0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsmaprendererjob.cpp
@@ -301,6 +301,7 @@ LayerRenderJobs QgsMapRendererJob::prepareJobs( QPainter *painter, QgsLabelingEn
if ( mCache && mCache->hasCacheImage( ml->id() ) )
{
job.cached = true;
job.imageInitialized = true;
job.img = new QImage( mCache->cacheImage( ml->id() ) );
job.renderer = nullptr;
job.context.setPainter( nullptr );

0 comments on commit 7387d74

Please sign in to comment.