Don't build RTrees if test results will be ignored.
This commit is contained in:
parent
f220e83de6
commit
1d93effa14
|
@ -87,6 +87,12 @@ bool DRC_TEST_PROVIDER_SILK_CLEARANCE::Run()
|
|||
DRC_CONSTRAINT worstClearanceConstraint;
|
||||
m_largestClearance = 0;
|
||||
|
||||
if( m_drcEngine->IsErrorLimitExceeded( DRCE_OVERLAPPING_SILK ) )
|
||||
{
|
||||
reportAux( "Silkscreen clearance testing not run." );
|
||||
return false;
|
||||
}
|
||||
|
||||
if( m_drcEngine->QueryWorstConstraint( DRC_CONSTRAINT_TYPE_SILK_CLEARANCE,
|
||||
worstClearanceConstraint, DRCCQ_LARGEST_MINIMUM ) )
|
||||
{
|
||||
|
|
|
@ -84,6 +84,12 @@ bool DRC_TEST_PROVIDER_SILK_TO_MASK::Run()
|
|||
{
|
||||
m_board = m_drcEngine->GetBoard();
|
||||
|
||||
if( m_drcEngine->IsErrorLimitExceeded( DRCE_SILK_MASK_CLEARANCE ) )
|
||||
{
|
||||
reportAux( "Silkscreen clipping tests not run." );
|
||||
return false;
|
||||
}
|
||||
|
||||
DRC_CONSTRAINT worstClearanceConstraint;
|
||||
m_largestClearance = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue