Honour "report all errors" for track/edge collisions.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16268
This commit is contained in:
parent
a567a66d35
commit
d8d71a8a6e
|
@ -133,7 +133,15 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge( BOARD_ITEM* item, SHAPE*
|
|||
drce->SetViolatingRule( constraint.GetParentRule() );
|
||||
|
||||
reportViolation( drce, pos, Edge_Cuts );
|
||||
return false; // don't report violations with multiple edges; one is enough
|
||||
|
||||
if( item->Type() == PCB_TRACE_T || item->Type() == PCB_ARC_T )
|
||||
{
|
||||
return m_drcEngine->GetReportAllTrackErrors();
|
||||
}
|
||||
else
|
||||
{
|
||||
return false; // don't report violations with multiple edges; one is enough
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue