[GRASS-SVN] r55526 - grass/branches/releasebranch_6_4/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 26 11:09:33 PDT 2013


Author: martinl
Date: 2013-03-26 11:09:33 -0700 (Tue, 26 Mar 2013)
New Revision: 55526

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/vdigit/wxdigit.py
Log:
wxGUI/vdigit: fix typo (bugfix)
              (merge r55525 from devbr6)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/vdigit/wxdigit.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/vdigit/wxdigit.py	2013-03-26 17:44:59 UTC (rev 55525)
+++ grass/branches/releasebranch_6_4/gui/wxpython/vdigit/wxdigit.py	2013-03-26 18:09:33 UTC (rev 55526)
@@ -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