Browse Source

v.net.steiner: shortest road is searched between node not line id's (Fixes https://trac.osgeo.org/grass/ticket/2743; Merge https://trac.osgeo.org/grass/changeset/68000 from trunk)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68004 15284696-431f-4ddb-bdfa-cd5b030d7da7
Maris Nartiss 9 years ago
parent
commit
37d7acd288
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vector/v.net.steiner/main.c

+ 1 - 1
vector/v.net.steiner/main.c

@@ -448,7 +448,7 @@ int main(int argc, char **argv)
 	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);
 	}
     }