Pcbnew: fix bad arcs in plot postscript (from Simon Schubert)

This commit is contained in:
Simon Schubert 2012-02-24 18:17:03 +01:00 committed by jean-pierre charras
parent 23aea616e0
commit bcd66579d9
1 changed files with 3 additions and 0 deletions

View File

@ -153,6 +153,9 @@ void PS_PLOTTER::arc( wxPoint centre, int StAngle, int EndAngle, int radius,
if( radius <= 0 )
return;
if( StAngle > EndAngle )
EXCHG( StAngle, EndAngle );
set_current_line_width( width );
// Calculate start point.