PNS: Don't link unroutable items
The joint map only works for items that are routable, so don't bother
adding unroutable items as this only takes additional time to process
Fixes #3976 | https://gitlab.com/kicad/code/kicad/issues/3976
(cherry picked from commit 9769e1020b
)
Fixes https://gitlab.com/kicad/code/kicad/issues/4143
This commit is contained in:
parent
72abcd5991
commit
e6d49424cf
|
@ -533,7 +533,9 @@ const ITEM_SET NODE::HitTest( const VECTOR2I& aPoint ) const
|
|||
|
||||
void NODE::addSolid( SOLID* aSolid )
|
||||
{
|
||||
linkJoint( aSolid->Pos(), aSolid->Layers(), aSolid->Net(), aSolid );
|
||||
if( aSolid->IsRoutable() )
|
||||
linkJoint( aSolid->Pos(), aSolid->Layers(), aSolid->Net(), aSolid );
|
||||
|
||||
m_index->Add( aSolid );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue