[GRASS-SVN] r70510 - grass/trunk/lib/vector/vedit

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 8 23:25:08 PST 2017


Author: hcho
Date: 2017-02-08 23:25:08 -0800 (Wed, 08 Feb 2017)
New Revision: 70510

Modified:
   grass/trunk/lib/vector/vedit/vertex.c
Log:
vedit: Don't use line number from Map for BgMap snapping

Modified: grass/trunk/lib/vector/vedit/vertex.c
===================================================================
--- grass/trunk/lib/vector/vedit/vertex.c	2017-02-09 01:58:57 UTC (rev 70509)
+++ grass/trunk/lib/vector/vedit/vertex.c	2017-02-09 07:25:08 UTC (rev 70510)
@@ -115,7 +115,7 @@
 
 				for (bgi = 0; bgi < nbgmaps; bgi++) {
 				    if (Vedit_snap_point
-					(BgMap[bgi], line, &x[k], &y[k],
+					(BgMap[bgi], 0, &x[k], &y[k],
 					 &z[k], thresh_snap,
 					 (snap == SNAPVERTEX) ? 1 : 0))
 					moved[k] = 2;



More information about the grass-commit mailing list