Allow solder mask bridges between net-tie-group pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/14412
(cherry picked from commit c5e66361db
)
This commit is contained in:
parent
141b332d4f
commit
59a478bdc5
|
@ -399,6 +399,15 @@ bool DRC_TEST_PROVIDER_SOLDER_MASK::checkMaskAperture( BOARD_ITEM* aMaskItem, BO
|
|||
return false;
|
||||
}
|
||||
|
||||
if( fp && ii->second.first->Type() == PCB_PAD_T && aTestItem->Type() == PCB_PAD_T )
|
||||
{
|
||||
PAD* alreadyEncounteredPad = static_cast<PAD*>( ii->second.first );
|
||||
PAD* thisPad = static_cast<PAD*>( aTestItem );
|
||||
|
||||
if( alreadyEncounteredPad->SharesNetTieGroup( thisPad ) )
|
||||
return false;
|
||||
}
|
||||
|
||||
*aCollidingItem = ii->second.first;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue