PNS: Handle no-tracks setting in keep out zones
Fixes: lp:1748832 * https://bugs.launchpad.net/kicad/+bug/1748832
This commit is contained in:
parent
2f4ec0c0c4
commit
ab8e2419c2
|
@ -791,11 +791,13 @@ std::unique_ptr<PNS::VIA> PNS_KICAD_IFACE::syncVia( VIA* aVia )
|
|||
return via;
|
||||
}
|
||||
|
||||
|
||||
bool PNS_KICAD_IFACE::syncZone( PNS::NODE* aWorld, ZONE_CONTAINER* aZone )
|
||||
{
|
||||
SHAPE_POLY_SET poly;
|
||||
|
||||
if( !aZone->GetIsKeepout() )
|
||||
// TODO handle no-via restriction
|
||||
if( !aZone->GetIsKeepout() || !aZone->GetDoNotAllowTracks() )
|
||||
return false;
|
||||
|
||||
aZone->BuildSmoothedPoly( poly );
|
||||
|
|
Loading…
Reference in New Issue