Skip to content

Commit

Permalink
Fix reprojection problem for polygons too
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15101 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 28, 2011
1 parent aa54642 commit 703d049
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/symbology-ng/qgsrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 703d049

Please sign in to comment.