Fix an issue in DRC min via drill value, created in git commit 3a92db4312

This commit is contained in:
jp-charras 2016-08-28 21:26:51 +02:00
parent 82ed0fde32
commit 440f8c8b69
1 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart, bool testPads )
DRCE_TOO_SMALL_MICROVIA, m_currentMarker );
return false;
}
if( refvia->GetDrill() < dsnSettings.m_MicroViasMinDrill )
if( refvia->GetDrillValue() < dsnSettings.m_MicroViasMinDrill )
{
m_currentMarker = fillMarker( refvia, NULL,
DRCE_TOO_SMALL_MICROVIA_DRILL, m_currentMarker );
@ -184,7 +184,7 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart, bool testPads )
DRCE_TOO_SMALL_VIA, m_currentMarker );
return false;
}
if( refvia->GetDrill() < dsnSettings.m_ViasMinDrill )
if( refvia->GetDrillValue() < dsnSettings.m_ViasMinDrill )
{
m_currentMarker = fillMarker( refvia, NULL,
DRCE_TOO_SMALL_VIA_DRILL, m_currentMarker );