Skip to content

Commit 230aced

Browse files
author
jef
committed
fix #2833
git-svn-id: http://svn.osgeo.org/qgis/trunk@13785 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 90617d5 commit 230aced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/fTools/tools/doVisual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def isSelfIntersecting( self, polygon ):
502502
self.emit( SIGNAL( "runPartStatus(PyQt_PyObject)" ), nPart )
503503

504504
count = 0
505-
for j in range( i+1, len(h)-1 ):
505+
for j in range( i, len(h)-1 ):
506506
if QgsGeometry().fromPolyline( [ h[ i ], h[ i + 1 ] ] ).intersects( QgsGeometry().fromPolyline( [ h[ j ], h[ j + 1 ] ] ) ):
507507
count += 1
508508
if count > 2:

0 commit comments

Comments
 (0)