From 1058ba6a0f5452386327908acd1288ad426ab02c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 28 May 2019 23:45:49 -0400 Subject: [PATCH] PcbNew: ensure Bezier points are updated before plotting (cherry picked from commit b060880aacfb5e2ff44dea0000733e835d0b8b2a) --- pcbnew/plot_brditems_plotter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index d26218647e..0b7b30dce9 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -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& bezierPoints = aSeg->GetBezierPoints(); for( unsigned i = 1; i < bezierPoints.size(); i++ )