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:
parent
16d10dc76e
commit
5cad4ad8d0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user