pcbnew: Don't knock out thermals for non-conn zone
Non-connected zones are, by definition, not connected, therefore, we should not knock out thermal reliefs under any case Fixes: lp:1810989 * https://bugs.launchpad.net/kicad/+bug/1810989
This commit is contained in:
parent
b0da1e19ee
commit
12e0e72107
|
@ -648,6 +648,9 @@ void ZONE_FILLER::buildZoneFeatureHoleList( const ZONE_CONTAINER* aZone,
|
||||||
if( pad->GetNetCode() != aZone->GetNetCode() )
|
if( pad->GetNetCode() != aZone->GetNetCode() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if( pad->GetNetCode() <= 0 )
|
||||||
|
continue;
|
||||||
|
|
||||||
item_boundingbox = pad->GetBoundingBox();
|
item_boundingbox = pad->GetBoundingBox();
|
||||||
int thermalGap = aZone->GetThermalReliefGap( pad );
|
int thermalGap = aZone->GetThermalReliefGap( pad );
|
||||||
item_boundingbox.Inflate( thermalGap, thermalGap );
|
item_boundingbox.Inflate( thermalGap, thermalGap );
|
||||||
|
|
Loading…
Reference in New Issue