Fix arcs in gerber export once again.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15559
This commit is contained in:
Alex Shvartzkop 2023-09-02 00:00:34 +03:00
parent 90eb59cf9f
commit 0317a1f687
1 changed files with 2 additions and 2 deletions

View File

@ -1633,8 +1633,8 @@ void GERBER_PLOTTER::plotRoundRectAsRegion( const VECTOR2I& aRectCenter, const V
if( aCornerRadius ) // Guard: ensure we do not create arcs with radius = 0 if( aCornerRadius ) // Guard: ensure we do not create arcs with radius = 0
{ {
// LineTo( rr_edge.m_end ); // made in plotArc() // LineTo( rr_edge.m_end ); // made in plotArc()
plotArc( rr_edge.m_center, rr_edge.m_arc_angle_start, plotArc( rr_edge.m_center, -rr_edge.m_arc_angle_start,
rr_edge.m_arc_angle_start - ANGLE_90, aCornerRadius, true ); -rr_edge.m_arc_angle_start + ANGLE_90, aCornerRadius, true );
} }
else else
{ {