Don't treat a rule area as an edge cut in the router.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15200
This commit is contained in:
parent
0446152d15
commit
581cbfc112
|
@ -312,7 +312,7 @@ static bool isEdge( const PNS::ITEM* aItem )
|
|||
if ( !aItem )
|
||||
return false;
|
||||
|
||||
const BOARD_ITEM *parent = aItem->BoardItem();
|
||||
const PCB_SHAPE *parent = dynamic_cast<PCB_SHAPE*>( aItem->BoardItem() );
|
||||
|
||||
return parent && ( parent->IsOnLayer( Edge_Cuts ) || parent->IsOnLayer( Margin ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue