Skip to content
Permalink
Browse files

Fix reprojection problem for polygons too

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15101 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jan 28, 2011
1 parent aa54642 commit 703d049ce138cb484b3bd172eb5e27e6b8b65196
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/symbology-ng/qgsrendererv2.cpp
@@ -133,7 +133,10 @@ unsigned char* QgsFeatureRendererV2::_getPolygon( QPolygonF& pts, QList<QPolygon

// TODO: maybe to the transform at once (faster?)
if ( ct )
{
z = 0;
ct->transformInPlace( x, y, z );
}
mtp.transformInPlace( x, y );

poly[jdx] = QPointF( x, y );

0 comments on commit 703d049

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