From 4d8be7b2bb5bddc30cf92522dc5ad8dfb9e97bdb 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 --- 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 0bcc2da524..575cd9d4c1 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -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& bezierPoints = aSeg->GetBezierPoints(); for( unsigned i = 1; i < bezierPoints.size(); i++ )