Zone filler: fix a recent bug that forgot items on edge_cut when filling a copper zone.
Fixes: lp:1789067 https://bugs.launchpad.net/kicad/+bug/
This commit is contained in:
parent
089f27f485
commit
d9d005190a
|
@ -527,7 +527,8 @@ void ZONE_FILLER::buildZoneFeatureHoleList( const ZONE_CONTAINER* aZone,
|
|||
*/
|
||||
auto doGraphicItem = [&]( BOARD_ITEM* aItem )
|
||||
{
|
||||
if( !aItem->IsOnLayer( aZone->GetLayer() ) )
|
||||
// A item on the Edge_Cuts is always seen as on any layer:
|
||||
if( !aItem->IsOnLayer( aZone->GetLayer() ) && !aItem->IsOnLayer( Edge_Cuts ) )
|
||||
return;
|
||||
|
||||
if( !aItem->GetBoundingBox().Intersects( zone_boundingbox ) )
|
||||
|
|
Loading…
Reference in New Issue