Pcbnew: fix incorrect rotation angle unit when building thermal spokes

The new Rotate function uses radians, not deci-degrees.

Fixes #3668 | https://gitlab.com/kicad/code/kicad/issues/3668
This commit is contained in:
jean-pierre charras 2019-12-13 17:41:20 +01:00
parent ae785194ce
commit 02977aacfc
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ void ZONE_FILLER::buildThermalSpokes( const ZONE_CONTAINER* aZone,
break;
}
spoke.Rotate( padAngle );
spoke.Rotate( -DECIDEG2RAD( padAngle ) );
spoke.Move( shapePos );
spoke.SetClosed( true );