Browse Source

Rely on DRC rules when items might overlap.

Fixes https://gitlab.com/kicad/code/kicad/issues/1790
7.0
Jeff Young 3 years ago
parent
commit
f48ed79039
  1. 6
      pcbnew/router/pns_router.cpp

6
pcbnew/router/pns_router.cpp

@ -227,6 +227,12 @@ bool ROUTER::isStartingPointRoutable( const VECTOR2I& aWhere, ITEM* aStartItem,
for( ITEM* item : candidates.Items() )
{
if( item->Parent() && item->Parent()->GetLayer() == Edge_Cuts )
{
// Edge cuts are put on all layers, but they're not *really* on all layers
continue;
}
if( !item->IsRoutable() && item->Layers().Overlaps( aLayer ) )
{
BOARD_ITEM* parent = item->Parent();

Loading…
Cancel
Save