[GRASS-SVN] r43942 - grass/branches/releasebranch_6_4/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 17 04:37:24 EDT 2010


Author: martinl
Date: 2010-10-17 01:37:24 -0700 (Sun, 17 Oct 2010)
New Revision: 43942

Modified:
   grass/branches/releasebranch_6_4/lib/vector/Vlib/build.c
Log:
v.build opt=dump does not report the Z coord (#1194)
(merge r43897 from trunk)


Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/build.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/build.c	2010-10-17 07:03:35 UTC (rev 43941)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/build.c	2010-10-17 08:37:24 UTC (rev 43942)
@@ -290,7 +290,7 @@
     struct Plus_head *plus;
 
     plus = &(Map->plus);
-
+    
     fprintf(out, "---------- TOPOLOGY DUMP ----------\n");
 
     /* box */
@@ -305,8 +305,8 @@
 	    continue;
 	}
 	Node = plus->Node[i];
-	fprintf(out, "node = %d, n_lines = %d, xy = %f, %f\n", i,
-		Node->n_lines, Node->x, Node->y);
+	fprintf(out, "node = %d, n_lines = %d, xyz = %f, %f, %f\n", i,
+		Node->n_lines, Node->x, Node->y, Node->z);
 	for (j = 0; j < Node->n_lines; j++) {
 	    line = Node->lines[j];
 	    Line = plus->Line[abs(line)];



More information about the grass-commit mailing list