[GRASS-SVN] r58444 - grass/trunk/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 11 11:58:38 PST 2013
Author: martinl
Date: 2013-12-11 11:58:38 -0800 (Wed, 11 Dec 2013)
New Revision: 58444
Modified:
grass/trunk/gui/wxpython/vdigit/wxdigit.py
Log:
wxGUI/vdigit: no attribute dialog when area is not closed
Modified: grass/trunk/gui/wxpython/vdigit/wxdigit.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/wxdigit.py 2013-12-11 19:47:39 UTC (rev 58443)
+++ grass/trunk/gui/wxpython/vdigit/wxdigit.py 2013-12-11 19:58:38 UTC (rev 58444)
@@ -1822,6 +1822,10 @@
self._addChangeset()
+ if ftype & GV_AREA:
+ # len(fids) == 1 -> no new area
+ return (len(fids)-1, fids)
+
return (len(fids), fids)
def _ModifyLineVertex(self, coords, add = True):
More information about the grass-commit
mailing list