[GRASS-SVN] r36645 - grass/trunk/vector/v.in.dxf

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 8 20:57:10 EDT 2009


Author: hcho
Date: 2009-04-08 20:57:10 -0400 (Wed, 08 Apr 2009)
New Revision: 36645

Modified:
   grass/trunk/vector/v.in.dxf/add_line.c
Log:
Support missing z values

Modified: grass/trunk/vector/v.in.dxf/add_line.c
===================================================================
--- grass/trunk/vector/v.in.dxf/add_line.c	2009-04-09 00:56:29 UTC (rev 36644)
+++ grass/trunk/vector/v.in.dxf/add_line.c	2009-04-09 00:57:10 UTC (rev 36645)
@@ -14,6 +14,7 @@
 
     strcpy(layer, UNIDENTIFIED_LAYER);
 
+    zpnts[0] = zpnts[1] = 0.0;
     /* read in lines and process information until a 0 is read in */
     while ((code = dxf_get_code(dxf)) != 0) {
 	if (code == -2)



More information about the grass-commit mailing list