fixup! Better DRC checking when placing vias.

This commit is contained in:
Jeff Young 2022-02-25 10:29:36 +00:00
parent 6036331b25
commit 5f1976f341
1 changed files with 1 additions and 1 deletions

View File

@ -2412,7 +2412,7 @@ int DRAWING_TOOL::DrawVia( const TOOL_EVENT& aEvent )
constraint = m_drcEngine->EvalRules( DISALLOW_CONSTRAINT, aVia, nullptr, constraint = m_drcEngine->EvalRules( DISALLOW_CONSTRAINT, aVia, nullptr,
UNDEFINED_LAYER ); UNDEFINED_LAYER );
if( constraint.m_DisallowFlags && constraint.GetSeverity() != RPT_SEVERITY_IGNORE ) if( constraint.m_DisallowFlags )
return true; return true;
return false; return false;