[GRASS-SVN] r69562 - grass/trunk/lib/vector/vedit
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 23 12:54:28 PDT 2016
Author: mmetz
Date: 2016-09-23 12:54:28 -0700 (Fri, 23 Sep 2016)
New Revision: 69562
Modified:
grass/trunk/lib/vector/vedit/merge.c
Log:
v.edit tool=merge: improve skip invalid lines
Modified: grass/trunk/lib/vector/vedit/merge.c
===================================================================
--- grass/trunk/lib/vector/vedit/merge.c 2016-09-23 13:20:16 UTC (rev 69561)
+++ grass/trunk/lib/vector/vedit/merge.c 2016-09-23 19:54:28 UTC (rev 69562)
@@ -91,7 +91,7 @@
/* remove duplicate points */
Vect_line_prune(Points1);
- if (Points1->n_points == 1) {
+ if (Points1->n_points < 2) {
G_debug(3, "Vedit_merge_lines(): skipping zero length line");
continue;
}
More information about the grass-commit
mailing list