From 4346b428976ec40dcccc5bca4f8215e611525934 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 25 Feb 2002 15:18:06 +0000 Subject: [PATCH] Add hole flag to output --- src/Lib/Output/output.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Lib/Output/output.cxx b/src/Lib/Output/output.cxx index 3968716a..762bee24 100644 --- a/src/Lib/Output/output.cxx +++ b/src/Lib/Output/output.cxx @@ -62,6 +62,7 @@ void write_polygon( const FGPolygon& poly, const string& base ) { sprintf(name, "%s%d", base.c_str(), i ); FILE *fp = fopen( name, "w" ); + fprintf(fp, "hole = %d\n", poly.get_hole_flag(i)); for ( int j = 0; j < poly.contour_size( i ); ++j ) { Point3D p0 = poly.get_pt(i, j); fprintf(fp, "%.8f %.8f\n", p0.x(), p0.y());