Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #2833
git-svn-id: http://svn.osgeo.org/qgis/trunk@13785 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 23, 2010
1 parent 90617d5 commit 230aced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doVisual.py
Expand Up @@ -502,7 +502,7 @@ def isSelfIntersecting( self, polygon ):
self.emit( SIGNAL( "runPartStatus(PyQt_PyObject)" ), nPart )

count = 0
for j in range( i+1, len(h)-1 ):
for j in range( i, len(h)-1 ):
if QgsGeometry().fromPolyline( [ h[ i ], h[ i + 1 ] ] ).intersects( QgsGeometry().fromPolyline( [ h[ j ], h[ j + 1 ] ] ) ):
count += 1
if count > 2:
Expand Down

0 comments on commit 230aced

Please sign in to comment.