fixup! Better DRC checking when placing vias.
This commit is contained in:
parent
6036331b25
commit
5f1976f341
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue