1
0
Fork 0

Calls to sglog are not thread-safe; removed.

This commit is contained in:
James.Hester 2020-04-25 10:48:58 +10:00
parent 8e40cf26b3
commit d3e2f4d717

View file

@ -1019,8 +1019,6 @@ tgpolygon_list tgContour::ExpandToPolygons( const tgContour& subject, double wid
{
int turn_dir = 0;
sglog().setLogLevels( SG_ALL, SG_INFO );
SG_LOG(SG_GENERAL, SG_DEBUG, "makePolygonsTP: calculating offsets for segment " << i);
// for each point on the PointsList, generate a quad from
@ -1121,8 +1119,6 @@ tgpolygon_list tgContour::ExpandToPolygons( const tgContour& subject, double wid
prev_inner = cur_inner;
}
sglog().setLogLevels( SG_ALL, SG_INFO );
return result;
}