[GRASS-SVN] r55524 - grass/trunk/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Mar 26 07:55:56 PDT 2013
Author: martinl
Date: 2013-03-26 07:55:56 -0700 (Tue, 26 Mar 2013)
New Revision: 55524
Modified:
grass/trunk/gui/wxpython/vdigit/wxdigit.py
Log:
wxGUI/vdigit: fix typo
Modified: grass/trunk/gui/wxpython/vdigit/wxdigit.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/wxdigit.py 2013-03-26 13:49:56 UTC (rev 55523)
+++ grass/trunk/gui/wxpython/vdigit/wxdigit.py 2013-03-26 14:55:56 UTC (rev 55524)
@@ -1403,8 +1403,8 @@
last = points.n_points - 1
if self._settings['closeBoundary']:
Vect_append_point(self.poPoints, points.x[0], points.y[0], points.z[0])
- elif Vect_points_distance(points.x[0], points.x[0], points.z[0],
- points.x[last], points.x[last], points.z[last],
+ elif Vect_points_distance(points.x[0], points.y[0], points.z[0],
+ points.x[last], points.y[last], points.z[last],
is3D) <= threshold:
points.x[last] = points.x[0]
points.y[last] = points.y[0]
More information about the grass-commit
mailing list