Skip to content

Commit

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

Please sign in to comment.