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:
parent
c8d6ad0714
commit
eeef65533a
|
@ -1396,7 +1396,7 @@ void ZONE_FILLER::buildThermalSpokes( const ZONE* aZone, PCB_LAYER_ID aLayer,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
spoke.Rotate( -DECIDEG2RAD( pad->GetOrientation() + spokesAngle ) );
|
spoke.Rotate( -DECIDEG2RAD( spokesAngle ) );
|
||||||
spoke.Move( shapePos );
|
spoke.Move( shapePos );
|
||||||
|
|
||||||
spoke.SetClosed( true );
|
spoke.SetClosed( true );
|
||||||
|
|
Loading…
Reference in New Issue