pcbnew: consider worst case hole-to-hole clearance in GetBiggestClearanceValue()

This commit is contained in:
Tomasz Wlostowski 2022-01-13 00:42:08 +01:00
parent d3f24308e6
commit 2aee47487a
1 changed files with 3 additions and 0 deletions

View File

@ -924,6 +924,9 @@ int BOARD_DESIGN_SETTINGS::GetBiggestClearanceValue() const
m_DRCEngine->QueryWorstConstraint( EDGE_CLEARANCE_CONSTRAINT, constraint );
biggest = std::max( biggest, constraint.Value().Min() );
m_DRCEngine->QueryWorstConstraint( HOLE_TO_HOLE_CONSTRAINT, constraint );
biggest = std::max( biggest, constraint.Value().Min() );
}
return biggest;