Min width is smallest width it *can* be, not largest it *can't*.
Fixes https://gitlab.com/kicad/code/kicad/issues/5966
This commit is contained in:
parent
03074ae6ed
commit
37568d10ec
|
@ -1187,7 +1187,7 @@ void ZONE_FILLER::buildThermalSpokes( const ZONE_CONTAINER* aZone, PCB_LAYER_ID
|
||||||
spoke_w = std::min( spoke_w, pad->GetSize().y );
|
spoke_w = std::min( spoke_w, pad->GetSize().y );
|
||||||
|
|
||||||
// Cannot create stubs having a width < zone min thickness
|
// Cannot create stubs having a width < zone min thickness
|
||||||
if( spoke_w <= aZone->GetMinThickness() )
|
if( spoke_w < aZone->GetMinThickness() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int spoke_half_w = spoke_w / 2;
|
int spoke_half_w = spoke_w / 2;
|
||||||
|
|
Loading…
Reference in New Issue