PcbNew: ensure Bezier points are updated before plotting

This commit is contained in:
Jon Evans 2019-05-28 23:45:49 -04:00
parent adfc4d2485
commit 4d8be7b2bb
1 changed files with 1 additions and 0 deletions

View File

@ -736,6 +736,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++ )