Skip to content

Commit a884743

Browse files
author
mhugent
committed
Fix for the multipolygon rubberband bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@5536 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7adc002 commit a884743

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/qgsgeometry.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,7 @@ bool QgsGeometry::vertexAt(double &x, double &y,
12811281
for(int ringnr = 0; ringnr < *nRings; ++ringnr)
12821282
{
12831283
nPoints = (int*)ptr;
1284+
ptr += sizeof(int);
12841285
for(int pointnr = 0; pointnr < *nPoints; ++pointnr)
12851286
{
12861287
if(pointindex == atVertex.back())

0 commit comments

Comments
 (0)