Don't keepout a keepout's own footprint.
Fixes https://gitlab.com/kicad/code/kicad/issues/5371
This commit is contained in:
parent
f9e379c82a
commit
4e885990b8
|
@ -165,6 +165,9 @@ bool DRC_KEEPOUT_TESTER::checkFootprints()
|
|||
|
||||
for( MODULE* fp : m_board->Modules() )
|
||||
{
|
||||
if( m_zone->GetParent() == fp )
|
||||
continue;
|
||||
|
||||
if( !m_zoneBBox.Intersects( fp->GetBoundingBox() ) )
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue