[GRASS-SVN] r41156 - grass/branches/releasebranch_6_4/vector/v.in.dxf

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 22 02:28:21 EST 2010


Author: neteler
Date: 2010-02-22 02:28:21 -0500 (Mon, 22 Feb 2010)
New Revision: 41156

Modified:
   grass/branches/releasebranch_6_4/vector/v.in.dxf/add_polyline.c
Log:
Removed old warnings (merge from trunk, r41153)

Modified: grass/branches/releasebranch_6_4/vector/v.in.dxf/add_polyline.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.in.dxf/add_polyline.c	2010-02-22 07:27:57 UTC (rev 41155)
+++ grass/branches/releasebranch_6_4/vector/v.in.dxf/add_polyline.c	2010-02-22 07:28:21 UTC (rev 41156)
@@ -11,7 +11,6 @@
     int layer_flag = 0;		/* indicates if a layer name has been found */
     int polyline_flag = 0;	/* indicates the type of polyline */
     int warn_flag66 = 1;	/* indicates if error message printed once */
-    int warn_flag70 = 1;	/* indicates if error message printed once */
     int vert_flag;		/* indicates that vertices are following */
     int xflag = 0;		/* indicates if a x value has been found */
     int yflag = 0;		/* indicates if a y value has been found */
@@ -62,14 +61,6 @@
 	     128 = The linetype pattern is generated continuously around
 	           the vertices of this polyline.
 	     ******************************************************************/
-	    /* NOTE: code only exists for flag = 1 (closed polyline) or 0 */
-	    G_debug(1, "polyline_flag: %d", polyline_flag);
-	    if (polyline_flag & (8 | 16 | 32))
-		if (warn_flag70) {
-		    G_warning(_("3-d data in dxf file. Polyline_flag: %d"),
-			      polyline_flag);
-		    warn_flag70 = 0;
-		}
 	    break;
 	}
     }
@@ -145,7 +136,7 @@
 	     8 = Spline vertex created by spline-fitting
 	     16 = Spline frame control point
 	     32 = 3D polyline vertex
-	     64 = 3D polygon mesh
+	     64 = 3D polygon mesh vertex
 	     128 = Polyface mesh vertex
 	     ******************************************************************/
 		    if (vertex_flag == 16) {



More information about the grass-commit mailing list