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:
Jeff Young 2020-10-11 19:13:38 +01:00
parent 03074ae6ed
commit 37568d10ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;