PcbNew: ensure Bezier points are updated before plotting

(cherry picked from commit b060880aacfb5e2ff44dea0000733e835d0b8b2a)
This commit is contained in:
Jon Evans 2019-05-28 23:45:49 -04:00
parent f8c541c0d7
commit 1058ba6a0f
1 changed files with 1 additions and 0 deletions

View File

@ -767,6 +767,7 @@ void BRDITEMS_PLOTTER::PlotDrawSegment( DRAWSEGMENT* aSeg )
case S_CURVE:
{
m_plotter->SetCurrentLineWidth( thickness, &gbr_metadata );
aSeg->RebuildBezierToSegmentsPointsList( aSeg->GetWidth() );
const std::vector<wxPoint>& bezierPoints = aSeg->GetBezierPoints();
for( unsigned i = 1; i < bezierPoints.size(); i++ )