Take pad angle into account when generating spokes.

Fixes https://gitlab.com/kicad/code/kicad/issues/11765
This commit is contained in:
Jeff Young 2022-06-08 15:46:29 +01:00
parent 7053981835
commit 4a5f74422c
1 changed files with 1 additions and 1 deletions

View File

@ -1382,7 +1382,7 @@ void ZONE_FILLER::buildThermalSpokes( const ZONE* aZone, PCB_LAYER_ID aLayer,
// For circle pads, the thermal spoke orientation is 45 deg
if( pad->GetShape() == PAD_SHAPE::CIRCLE )
padAngle = s_RoundPadThermalSpokeAngle;
padAngle += s_RoundPadThermalSpokeAngle;
for( int i = 0; i < 4; i++ )
{