Skip to content
Permalink
Browse files
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 230aced5dd5bb31b521e1a9489264cd3aee83d75
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doVisual.py
@@ -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:

0 comments on commit 230aced

Please sign in to comment.