Skip to content
Permalink
Browse files

Merge pull request #2436 from dgoedkoop/linePointDifferenceFix

Fix QgsGeos::linePointDifference
  • Loading branch information
jef-n committed Nov 10, 2015
2 parents 9a89408 + c050571 commit 8ec0208408f038e98403a603051b67a0814e2fc4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsgeos.cpp
@@ -551,7 +551,7 @@ GEOSGeometry* QgsGeos::linePointDifference( GEOSGeometry* GEOSsplitPoint ) const
//For each segment
QgsLineStringV2 newLine;
newLine.addVertex( line->pointN( 0 ) );
int nVertices = newLine.numPoints();
int nVertices = line->numPoints();
for ( int j = 1; j < ( nVertices - 1 ); ++j )
{
QgsPointV2 currentPoint = line->pointN( j );

0 comments on commit 8ec0208

Please sign in to comment.
You can’t perform that action at this time.