Don't show a leading ratline to a NPTH.
Fixes https://gitlab.com/kicad/code/kicad/issues/6960
This commit is contained in:
parent
f702b64b8d
commit
e41c06304b
|
@ -1300,7 +1300,7 @@ void NODE::AllItemsInNet( int aNet, std::set<ITEM*>& aItems, int aKindMask)
|
|||
{
|
||||
for( ITEM* item : *l_cur )
|
||||
{
|
||||
if( item->OfKind( aKindMask ) )
|
||||
if( item->OfKind( aKindMask ) && item->IsRoutable() )
|
||||
aItems.insert( item );
|
||||
}
|
||||
}
|
||||
|
@ -1313,7 +1313,7 @@ void NODE::AllItemsInNet( int aNet, std::set<ITEM*>& aItems, int aKindMask)
|
|||
{
|
||||
for( ITEM* item : *l_root )
|
||||
{
|
||||
if( !Overrides( item ) && item->OfKind( aKindMask ) )
|
||||
if( !Overrides( item ) && item->OfKind( aKindMask ) && item->IsRoutable() )
|
||||
aItems.insert( item );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue