[GRASS-SVN] r45404 - grass/trunk/vector/v.build.polylines
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 14 12:25:31 EST 2011
Author: mmetz
Date: 2011-02-14 09:25:31 -0800 (Mon, 14 Feb 2011)
New Revision: 45404
Modified:
grass/trunk/vector/v.build.polylines/main.c
Log:
process only lines
Modified: grass/trunk/vector/v.build.polylines/main.c
===================================================================
--- grass/trunk/vector/v.build.polylines/main.c 2011-02-14 15:21:52 UTC (rev 45403)
+++ grass/trunk/vector/v.build.polylines/main.c 2011-02-14 17:25:31 UTC (rev 45404)
@@ -178,9 +178,8 @@
if (type & GV_LINES)
nlines++;
-
- /* copy points to output as they are, with cats */
- if (type & GV_POINTS) {
+ else {
+ /* copy points to output as they are, with cats */
Vect_read_line(&map, points, Cats, line);
Vect_write_line(&Out, type, points, Cats);
continue;
More information about the grass-commit
mailing list