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/qgis@12370 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 8, 2009
1 parent 6dece23 commit a66b2f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsmaprenderer.cpp
Original file line number Diff line number Diff line change
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 a66b2f9

Please sign in to comment.