pcbnew: consider worst case hole-to-hole clearance in GetBiggestClearanceValue()
This commit is contained in:
parent
d3f24308e6
commit
2aee47487a
|
@ -924,6 +924,9 @@ int BOARD_DESIGN_SETTINGS::GetBiggestClearanceValue() const
|
||||||
|
|
||||||
m_DRCEngine->QueryWorstConstraint( EDGE_CLEARANCE_CONSTRAINT, constraint );
|
m_DRCEngine->QueryWorstConstraint( EDGE_CLEARANCE_CONSTRAINT, constraint );
|
||||||
biggest = std::max( biggest, constraint.Value().Min() );
|
biggest = std::max( biggest, constraint.Value().Min() );
|
||||||
|
|
||||||
|
m_DRCEngine->QueryWorstConstraint( HOLE_TO_HOLE_CONSTRAINT, constraint );
|
||||||
|
biggest = std::max( biggest, constraint.Value().Min() );
|
||||||
}
|
}
|
||||||
|
|
||||||
return biggest;
|
return biggest;
|
||||||
|
|
Loading…
Reference in New Issue