1
0
Fork 0

Yikes! How about commenting out the debugging output, not the actual line

of code!  (See, once in a while I can spot my own stupidity.) :-)
This commit is contained in:
curt 2005-12-31 19:29:26 +00:00
parent 7d4a36db97
commit 964a4c18ef

View file

@ -1196,8 +1196,8 @@ static point_list reduce_contour_degeneracy( const point_list& contour ) {
p0 = result[result.size() - 1];
p1 = result[0];
// bad = find_intermediate_node( p0, p1, result, &bad_node );
if ( bad ) { cout << "bad in 0 to n segment" << endl; }
bad = find_intermediate_node( p0, p1, result, &bad_node );
// if ( bad ) { cout << "bad in 0 to n segment" << endl; }
}
// CLO: look for later nodes that match earlier segment end points