7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-07 18:45:32 +00:00

Multichannel: Don't include footprints outside of reference area

This commit is contained in:
JamesJCode 2025-01-10 11:23:56 +00:00
parent 16d10dc76e
commit 5cad4ad8d0

View File

@ -883,6 +883,10 @@ bool MULTICHANNEL_TOOL::copyRuleAreaContents( TMATCH::COMPONENT_MATCHES& aMatche
continue;
}
// Ignore footprints outside of the rule area
if( !refFP->GetEffectiveShape( refFP->GetLayer() )->Collide( &refPoly, 0 ) )
continue;
if( targetFP->IsLocked() && !aOpts.m_includeLockedItems )
continue;