Check for tented vias before expanding solder mask.

Fixes https://gitlab.com/kicad/code/kicad/issues/13705
This commit is contained in:
Jeff Young 2023-01-30 17:55:55 +00:00
parent 6a993ffb13
commit 50e9685490
1 changed files with 2 additions and 2 deletions

View File

@ -494,12 +494,12 @@ void DRC_TEST_PROVIDER_SOLDER_MASK::testItemAgainstItems( BOARD_ITEM* aItem, con
if( pad )
clearance += pad->GetSolderMaskExpansion();
else if( via )
else if( via && !via->IsTented() )
clearance += via->GetSolderMaskExpansion();
if( otherPad )
clearance += otherPad->GetSolderMaskExpansion();
else if( otherVia )
else if( otherVia && !via->IsTented() )
clearance += otherVia->GetSolderMaskExpansion();
if( itemShape->Collide( otherShape.get(), clearance, &actual, &pos ) )