[QGIS Commit] r12370 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Dec 7 20:04:52 EST 2009
Author: wonder
Date: 2009-12-07 20:04:51 -0500 (Mon, 07 Dec 2009)
New Revision: 12370
Modified:
trunk/qgis/src/core/qgsmaprenderer.cpp
Log:
Make labeling plugin work with on-the-fly projections again (fixes #2184)
Modified: trunk/qgis/src/core/qgsmaprenderer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaprenderer.cpp 2009-12-08 00:53:53 UTC (rev 12369)
+++ trunk/qgis/src/core/qgsmaprenderer.cpp 2009-12-08 01:04:51 UTC (rev 12370)
@@ -581,6 +581,10 @@
if ( mLabelingEngine )
{
+ // set correct extent
+ mRenderContext.setExtent( mExtent );
+ mRenderContext.setCoordinateTransform(NULL);
+
mLabelingEngine->drawLabeling( mRenderContext );
mLabelingEngine->exit();
}
More information about the QGIS-commit
mailing list