diff --git a/pcbnew/drc/drc_keepout_tester.cpp b/pcbnew/drc/drc_keepout_tester.cpp index 1d5190aa98..fa9ff07817 100644 --- a/pcbnew/drc/drc_keepout_tester.cpp +++ b/pcbnew/drc/drc_keepout_tester.cpp @@ -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;