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:
parent
ae785194ce
commit
02977aacfc
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue