mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 15:29:18 +00:00
Do a layer-specific test only if the zone has the layer we're on.
Otherwise do a outline test (ie: for a keepout which isn't layer-specific).
This commit is contained in:
parent
518a659185
commit
2c60c4778e
@ -183,7 +183,7 @@ static void insideArea( LIBEVAL::CONTEXT* aCtx, void* self )
|
||||
}
|
||||
}
|
||||
|
||||
if( zone )
|
||||
if( zone && zone->GetLayerSet().test( context->GetLayer() ) )
|
||||
{
|
||||
SHAPE_POLY_SET zonePoly = zone->GetFilledPolysList( context->GetLayer() );
|
||||
SHAPE_POLY_SET testPoly;
|
||||
|
Loading…
Reference in New Issue
Block a user