PcbNew: ensure Bezier points are updated before plotting

This commit is contained in:
Jon Evans
2019-05-29 00:17:34 -04:00
parent adfc4d2485
commit 4d8be7b2bb
+1
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++ )