[GRASS-SVN] r60675 - sandbox/annakrat/r3.flow
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 2 14:12:36 PDT 2014
Author: annakrat
Date: 2014-06-02 14:12:35 -0700 (Mon, 02 Jun 2014)
New Revision: 60675
Modified:
sandbox/annakrat/r3.flow/r3.flow.py
Log:
r3.flow: fix creating 3D lines
Modified: sandbox/annakrat/r3.flow/r3.flow.py
===================================================================
--- sandbox/annakrat/r3.flow/r3.flow.py 2014-06-02 19:52:41 UTC (rev 60674)
+++ sandbox/annakrat/r3.flow/r3.flow.py 2014-06-02 21:12:35 UTC (rev 60675)
@@ -151,6 +151,8 @@
count += 1
if len(line) > 1:
+ # workaround for pygrass bug
+ line.is2D = False
flowline_vector.write(line)
gcore.message(_("Flowline ended after %s steps.") % (count - 1), flag='v')
More information about the grass-commit
mailing list