Partial revert of commit d8498b62e0
, due to
comments in PCB_TEXTBOX::TransformShapeToPolygon()
This commit is contained in:
parent
d8498b62e0
commit
0904231000
|
@ -580,8 +580,9 @@ void PCB_TEXTBOX::TransformShapeToPolygon( SHAPE_POLY_SET& aBuffer, PCB_LAYER_ID
|
|||
|
||||
const SHAPE_LINE_CHAIN& poly = m_poly.Outline( 0 );
|
||||
|
||||
// build the polygon outline as a list of segmemts
|
||||
// (The polygon is not filled).
|
||||
for( int ii = 0; ii < poly.PointCount(); ++ii )
|
||||
aBuffer.Append( poly.GetPoint( ii ) );
|
||||
|
||||
if( m_borderEnabled && width > 0 )
|
||||
{
|
||||
for( int ii = 0; ii < poly.SegmentCount(); ++ii )
|
||||
|
|
Loading…
Reference in New Issue