Skip to content

Commit 9410506

Browse files
author
mhugent
committed
Applied patch #1325 from smizuno to fix multipoint issues. Thanks!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9753 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6aa1c6c commit 9410506

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsgeometry.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,7 @@ bool QgsGeometry::deleteVertex( int atVertex )
15251525
case QGis::WKBMultiPoint:
15261526
{
15271527
//todo
1528+
break;
15281529
}
15291530
case QGis::WKBLineString25D:
15301531
hasZValue = true;
@@ -3321,6 +3322,7 @@ QgsRectangle QgsGeometry::boundingBox()
33213322
{
33223323
ptr = mGeometry + 1 + sizeof( int );
33233324
nPoints = ( int * ) ptr;
3325+
ptr += sizeof( int );
33243326
for ( idx = 0; idx < *nPoints; idx++ )
33253327
{
33263328
ptr += ( 1 + sizeof( int ) );

0 commit comments

Comments
 (0)