Rely on DRC rules when items might overlap.
Fixes https://gitlab.com/kicad/code/kicad/issues/1790
(cherry picked from commit f48ed79039
)
This commit is contained in:
parent
cd5b4ec8f2
commit
06baaa33fa
|
@ -218,6 +218,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…
Reference in New Issue