Handle router collisions with filled shapes.
This commit is contained in:
parent
ed79f6e511
commit
2538ad16aa
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue