[QGIS Commit] r13785 - trunk/qgis/python/plugins/fTools/tools
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Jun 23 05:31:09 EDT 2010
Author: jef
Date: 2010-06-23 09:31:09 +0000 (Wed, 23 Jun 2010)
New Revision: 13785
Modified:
trunk/qgis/python/plugins/fTools/tools/doVisual.py
Log:
fix #2833
Modified: trunk/qgis/python/plugins/fTools/tools/doVisual.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/doVisual.py 2010-06-23 07:38:19 UTC (rev 13784)
+++ trunk/qgis/python/plugins/fTools/tools/doVisual.py 2010-06-23 09:31:09 UTC (rev 13785)
@@ -502,7 +502,7 @@
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:
More information about the QGIS-commit
mailing list