Skip to content

Commit 99d6d25

Browse files
author
wonder
committedDec 8, 2009
Make labeling plugin work with on-the-fly projections again (fixes #2184)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12370 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1077ec7 commit 99d6d25

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/core/qgsmaprenderer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,10 @@ void QgsMapRenderer::render( QPainter* painter )
581581

582582
if ( mLabelingEngine )
583583
{
584+
// set correct extent
585+
mRenderContext.setExtent( mExtent );
586+
mRenderContext.setCoordinateTransform(NULL);
587+
584588
mLabelingEngine->drawLabeling( mRenderContext );
585589
mLabelingEngine->exit();
586590
}

0 commit comments

Comments
 (0)
Please sign in to comment.