Need to check track/track clearance
The misplaced else prevented non-track/track intersection clearances from being reported Fixes https://gitlab.com/kicad/code/kicad/issues/7376
This commit is contained in:
parent
9069689e83
commit
23c6dbff38
|
@ -310,8 +310,7 @@ bool DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackAgainstItem( TRACK* track, SHA
|
|||
return m_drcEngine->GetReportAllTrackErrors();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
std::shared_ptr<SHAPE> otherShape = getShape( other, layer );
|
||||
|
||||
if( trackShape->Collide( otherShape.get(), clearance - m_drcEpsilon, &actual, &pos ) )
|
||||
|
@ -333,7 +332,6 @@ bool DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackAgainstItem( TRACK* track, SHA
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( testHoles && ( other->Type() == PCB_VIA_T || other->Type() == PCB_PAD_T ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue