[GRASS-SVN] r63178 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 27 01:01:49 PST 2014


Author: mmetz
Date: 2014-11-27 01:01:49 -0800 (Thu, 27 Nov 2014)
New Revision: 63178

Modified:
   grass/trunk/gui/wxpython/vdigit/wxdigit.py
Log:
vdigit: fix r63077

Modified: grass/trunk/gui/wxpython/vdigit/wxdigit.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/wxdigit.py	2014-11-27 09:01:03 UTC (rev 63177)
+++ grass/trunk/gui/wxpython/vdigit/wxdigit.py	2014-11-27 09:01:49 UTC (rev 63178)
@@ -1766,6 +1766,8 @@
         if newline < 0:
             self._error.WriteLine()
             return (-1, None)
+
+	fids.append(newline)
         
         # add centroids for left/right area
         if ftype & GV_AREA:
@@ -1823,8 +1825,7 @@
 
         # break line or boundary at intersection
         if self._settings['breakLines']:
-            if not self._breakLineAtIntersection(newline, self.poPoints):
-		fids.append(newline)
+            self._breakLineAtIntersection(newline, self.poPoints)
 
         self._addChangeset()
         



More information about the grass-commit mailing list