We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90617d5 commit 230acedCopy full SHA for 230aced
python/plugins/fTools/tools/doVisual.py
@@ -502,7 +502,7 @@ def isSelfIntersecting( self, polygon ):
502
self.emit( SIGNAL( "runPartStatus(PyQt_PyObject)" ), nPart )
503
504
count = 0
505
- for j in range( i+1, len(h)-1 ):
+ for j in range( i, len(h)-1 ):
506
if QgsGeometry().fromPolyline( [ h[ i ], h[ i + 1 ] ] ).intersects( QgsGeometry().fromPolyline( [ h[ j ], h[ j + 1 ] ] ) ):
507
count += 1
508
if count > 2:
0 commit comments