[GRASS-SVN] r68008 - grass/trunk/vector/v.net.path
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 5 14:34:33 PST 2016
Author: mmetz
Date: 2016-03-05 14:34:33 -0800 (Sat, 05 Mar 2016)
New Revision: 68008
Modified:
grass/trunk/vector/v.net.path/path.c
Log:
v.net.path: no duplicate vertices
Modified: grass/trunk/vector/v.net.path/path.c
===================================================================
--- grass/trunk/vector/v.net.path/path.c 2016-03-05 22:32:01 UTC (rev 68007)
+++ grass/trunk/vector/v.net.path/path.c 2016-03-05 22:34:33 UTC (rev 68008)
@@ -256,8 +256,9 @@
else
Vect_append_points(OPoints, Points,
GV_BACKWARD);
+ OPoints->n_points--;
}
-
+ OPoints->n_points++;
Vect_write_line(Out, GV_LINE, OPoints, Cats);
}
}
More information about the grass-commit
mailing list