Handle router collisions with filled shapes.

This commit is contained in:
Jeff Young 2021-12-03 00:30:30 +00:00
parent ed79f6e511
commit 2538ad16aa
1 changed files with 0 additions and 4 deletions

View File

@ -1161,10 +1161,6 @@ bool PNS_KICAD_IFACE_BASE::syncGraphicalItem( PNS::NODE* aWorld, PCB_SHAPE* aIte
|| aItem->GetLayer() == Margin || aItem->GetLayer() == Margin
|| IsCopperLayer( aItem->GetLayer() ) ) || IsCopperLayer( aItem->GetLayer() ) )
{ {
// TODO: where do we handle filled polygons on copper layers?
if( aItem->GetShape() == SHAPE_T::POLY && aItem->IsFilled() )
return false;
std::vector<SHAPE*> shapes = aItem->MakeEffectiveShapes(); std::vector<SHAPE*> shapes = aItem->MakeEffectiveShapes();
for( SHAPE* shape : shapes ) for( SHAPE* shape : shapes )