Correctly handle footprint graphic knockouts for no-net case
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17223
This commit is contained in:
parent
3a3ceb8ffc
commit
ed18a9bcc2
|
@ -1181,7 +1181,7 @@ void ZONE_FILLER::buildCopperItemClearances( const ZONE* aZone, PCB_LAYER_ID aLa
|
||||||
{
|
{
|
||||||
for( PAD* pad : footprint->Pads() )
|
for( PAD* pad : footprint->Pads() )
|
||||||
{
|
{
|
||||||
if( pad->GetNetCode() == aZone->GetNetCode() )
|
if( pad->GetNetCode() == aZone->GetNetCode() && aZone->GetNetCode() != 0 )
|
||||||
{
|
{
|
||||||
if( pad->IsOnLayer( aLayer ) )
|
if( pad->IsOnLayer( aLayer ) )
|
||||||
allowedNetTiePads.insert( pad );
|
allowedNetTiePads.insert( pad );
|
||||||
|
|
Loading…
Reference in New Issue