[GRASS-SVN] r68004 - in grass/branches/releasebranch_7_0: . vector/v.net.steiner

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 5 02:15:36 PST 2016


Author: marisn
Date: 2016-03-05 02:15:36 -0800 (Sat, 05 Mar 2016)
New Revision: 68004

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/vector/v.net.steiner/main.c
Log:
v.net.steiner: shortest road is searched between node not line id's (Fixes #2743; Merge r68000 from trunk)


Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Added: svn:mergeinfo
   + /grass/trunk:68000

Modified: grass/branches/releasebranch_7_0/vector/v.net.steiner/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.net.steiner/main.c	2016-03-05 09:22:42 UTC (rev 68003)
+++ grass/branches/releasebranch_7_0/vector/v.net.steiner/main.c	2016-03-05 10:15:36 UTC (rev 68004)
@@ -448,7 +448,7 @@
 	if (!(Vect_cat_get(Cats, tfield, &cat)))
 	    continue;
 	if (Vect_cat_in_cat_list(cat, Clist)) {
-	    Vect_list_append(TList, i);
+	    Vect_list_append(TList, node);
 	}
     }
 



More information about the grass-commit mailing list