FIX: Pcbnew plot BezierCurve: add missing line thickness initialization.

This commit is contained in:
jean-pierre charras 2019-11-09 14:02:41 +01:00
parent 01553a6bd1
commit 5833392689
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ void PLOTTER::BezierCurve( const wxPoint& aStart, const wxPoint& aControl1,
std::vector<wxPoint> approxPoints; std::vector<wxPoint> approxPoints;
bezier_converter.GetPoly( approxPoints, minSegLen ); bezier_converter.GetPoly( approxPoints, minSegLen );
SetCurrentLineWidth( aLineThickness );
MoveTo( aStart ); MoveTo( aStart );
for( unsigned ii = 1; ii < approxPoints.size()-1; ii++ ) for( unsigned ii = 1; ii < approxPoints.size()-1; ii++ )