[QGIS Commit] r8342 - branches/rendercontext-branch/src/app/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Apr 13 03:19:50 EDT 2008


Author: mhugent
Date: 2008-04-13 03:19:48 -0400 (Sun, 13 Apr 2008)
New Revision: 8342

Modified:
   branches/rendercontext-branch/src/app/composer/qgscomposermap.cpp
Log:
fixed on-the-fly reprojection in composer

Modified: branches/rendercontext-branch/src/app/composer/qgscomposermap.cpp
===================================================================
--- branches/rendercontext-branch/src/app/composer/qgscomposermap.cpp	2008-04-13 03:58:58 UTC (rev 8341)
+++ branches/rendercontext-branch/src/app/composer/qgscomposermap.cpp	2008-04-13 07:19:48 UTC (rev 8342)
@@ -144,6 +144,8 @@
   theMapRender.setExtent(extent);
   theMapRender.setOutputSize(size, dpi);
   theMapRender.setLayerSet(canvasMapRender->layerSet());
+  theMapRender.setProjectionsEnabled(canvasMapRender->projectionsEnabled());
+  theMapRender.setDestinationSrs(canvasMapRender->destinationSrs());
   
   QgsRenderContext* theRenderContext = theMapRender.renderContext();
   if(theRenderContext)



More information about the QGIS-commit mailing list