From c1bec7b6c2aec0058630bba6074a7621a7d9d2bd Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 19 Dec 2005 15:55:47 +0000 Subject: [PATCH] Activate some additional debugging output for LogLevel = SG_DEBUG. --- src/Lib/Polygon/polygon.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Lib/Polygon/polygon.cxx b/src/Lib/Polygon/polygon.cxx index 95091a1b..6351c0e2 100644 --- a/src/Lib/Polygon/polygon.cxx +++ b/src/Lib/Polygon/polygon.cxx @@ -496,11 +496,12 @@ TGPolygon tgPolygonSplitLongEdges( const TGPolygon &poly, double max_len ) { SG_LOG(SG_GENERAL, SG_DEBUG, "split_long_edges()"); for ( i = 0; i < poly.contours(); ++i ) { - // SG_LOG(SG_GENERAL, SG_DEBUG, "contour = " << i); + SG_LOG(SG_GENERAL, SG_DEBUG, "contour = " << i); for ( j = 0; j < poly.contour_size(i) - 1; ++j ) { + SG_LOG(SG_GENERAL, SG_DEBUG, "point = " << j); p0 = poly.get_pt( i, j ); p1 = poly.get_pt( i, j + 1 ); - // SG_LOG(SG_GENERAL, SG_DEBUG, " " << p0 << " - " << p1); + SG_LOG(SG_GENERAL, SG_DEBUG, " " << p0 << " - " << p1); if ( fabs(p0.y()) < (90.0 - SG_EPSILON) || fabs(p1.y()) < (90.0 - SG_EPSILON) )