Skip to content

Commit ca0216c

Browse files
author
mhugent
committedJan 28, 2011
Fix reprojection problem for polygons too
git-svn-id: http://svn.osgeo.org/qgis/trunk@15101 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5f69e2b commit ca0216c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/core/symbology-ng/qgsrendererv2.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ unsigned char* QgsFeatureRendererV2::_getPolygon( QPolygonF& pts, QList<QPolygon
133133

134134
// TODO: maybe to the transform at once (faster?)
135135
if ( ct )
136+
{
137+
z = 0;
136138
ct->transformInPlace( x, y, z );
139+
}
137140
mtp.transformInPlace( x, y );
138141

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

0 commit comments

Comments
 (0)
Please sign in to comment.