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:
Jeff Young 2023-03-25 16:10:41 +00:00
parent 141b332d4f
commit 59a478bdc5
1 changed files with 9 additions and 0 deletions

View File

@ -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;
}