patch_for_1325.txt
1 |
Index: src/core/qgsgeometry.cpp |
---|---|
2 |
=================================================================== |
3 |
--- src/core/qgsgeometry.cpp (revision 9720) |
4 |
+++ src/core/qgsgeometry.cpp (working copy) |
5 |
@@ -1525,6 +1525,7 @@ |
6 |
case QGis::WKBMultiPoint: |
7 |
{ |
8 |
//todo |
9 |
+ break; |
10 |
} |
11 |
case QGis::WKBLineString25D: |
12 |
hasZValue = true; |
13 |
@@ -3321,6 +3322,7 @@ |
14 |
{ |
15 |
ptr = mGeometry + 1 + sizeof( int ); |
16 |
nPoints = ( int * ) ptr; |
17 |
+ ptr += sizeof( int ); |
18 |
for ( idx = 0; idx < *nPoints; idx++ ) |
19 |
{ |
20 |
ptr += ( 1 + sizeof( int ) ); |