diff --git a/pcbnew/pcb_textbox.cpp b/pcbnew/pcb_textbox.cpp index fcf6972690..68d7661639 100644 --- a/pcbnew/pcb_textbox.cpp +++ b/pcbnew/pcb_textbox.cpp @@ -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 )