Pad Thermal Reliefs: fix spoke incorrect angle for rotated pads.

Fixes #10251
https://gitlab.com/kicad/code/kicad/issues/10251
This commit is contained in:
jean-pierre charras 2022-01-05 11:19:43 +01:00
parent c8d6ad0714
commit eeef65533a
1 changed files with 1 additions and 1 deletions

View File

@ -1396,7 +1396,7 @@ void ZONE_FILLER::buildThermalSpokes( const ZONE* aZone, PCB_LAYER_ID aLayer,
break;
}
spoke.Rotate( -DECIDEG2RAD( pad->GetOrientation() + spokesAngle ) );
spoke.Rotate( -DECIDEG2RAD( spokesAngle ) );
spoke.Move( shapePos );
spoke.SetClosed( true );