Skip to content
Permalink
Browse files

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
  • Loading branch information
wonder
wonder committed Dec 8, 2009
1 parent 1077ec7 commit 99d6d254e4953cae01b65244f0ee1a435d12d2cc
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsmaprenderer.cpp
@@ -581,6 +581,10 @@ void QgsMapRenderer::render( QPainter* painter )

if ( mLabelingEngine )
{
// set correct extent
mRenderContext.setExtent( mExtent );
mRenderContext.setCoordinateTransform(NULL);

mLabelingEngine->drawLabeling( mRenderContext );
mLabelingEngine->exit();
}

0 comments on commit 99d6d25

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