Skip to content

Commit

Permalink
Make labeling plugin work with on-the-fly projections again (fixes #2184
Browse files Browse the repository at this point in the history
)

git-svn-id: http://svn.osgeo.org/qgis/trunk@12370 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 8, 2009
1 parent 1077ec7 commit 99d6d25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsmaprenderer.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 99d6d25

Please sign in to comment.