[QGIS Commit] r9753 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Dec 8 08:59:08 EST 2008


Author: mhugent
Date: 2008-12-08 08:59:07 -0500 (Mon, 08 Dec 2008)
New Revision: 9753

Modified:
   trunk/qgis/src/core/qgsgeometry.cpp
Log:
Applied patch #1325 from smizuno to fix multipoint issues. Thanks!

Modified: trunk/qgis/src/core/qgsgeometry.cpp
===================================================================
--- trunk/qgis/src/core/qgsgeometry.cpp	2008-12-07 15:05:21 UTC (rev 9752)
+++ trunk/qgis/src/core/qgsgeometry.cpp	2008-12-08 13:59:07 UTC (rev 9753)
@@ -1525,6 +1525,7 @@
     case QGis::WKBMultiPoint:
     {
       //todo
+      break;
     }
     case QGis::WKBLineString25D:
       hasZValue = true;
@@ -3321,6 +3322,7 @@
     {
       ptr = mGeometry + 1 + sizeof( int );
       nPoints = ( int * ) ptr;
+      ptr += sizeof( int );
       for ( idx = 0; idx < *nPoints; idx++ )
       {
         ptr += ( 1 + sizeof( int ) );



More information about the QGIS-commit mailing list