Remove outdated check on endAngle to fix arc draw direction

Fixes: lp:1737420
* https://bugs.launchpad.net/kicad/+bug/1737420
This commit is contained in:
Jon Evans 2017-12-10 13:35:00 -05:00 committed by Chris Pavlina
parent 48388695ae
commit 1955f25226
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ void GERBVIEW_PAINTER::draw( /*const*/ GERBER_DRAW_ITEM* aItem, int aLayer )
// GAL fills in direction of increasing angle, so we have to convert
// the angle from the -PI to PI domain of atan2() to ensure that
// the arc goes in the right direction
if( ( startAngle > endAngle ) && ( endAngle < 0 ) )
if( startAngle > endAngle )
endAngle += (2 * M_PI);
// 360-degree arcs are stored in the file with start equal to end