[GRASS-SVN] r55525 - grass/branches/develbranch_6/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 26 10:45:00 PDT 2013


Author: martinl
Date: 2013-03-26 10:44:59 -0700 (Tue, 26 Mar 2013)
New Revision: 55525

Modified:
   grass/branches/develbranch_6/gui/wxpython/vdigit/wxdigit.py
Log:
wxGUI/vdigit: fix typo (bugfix)


Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/wxdigit.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/wxdigit.py	2013-03-26 14:55:56 UTC (rev 55524)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/wxdigit.py	2013-03-26 17:44:59 UTC (rev 55525)
@@ -1510,8 +1510,8 @@
             # close boundary
             points = self.poPoints.contents
             last = points.n_points - 1
-            if Vect_points_distance(points.x[0], points.x[0], points.z[0],
-                                    points.x[last], points.x[last], points.z[last],
+            if 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