Modified parser to skip drill specifications for SMD pads
This commit is contained in:
parent
ad7302358b
commit
375741eeaa
|
@ -78,9 +78,15 @@ bool KICADPAD::Read( SEXPR::SEXPR* aEntry )
|
||||||
bool ret = true;
|
bool ret = true;
|
||||||
|
|
||||||
if( name == "drill" )
|
if( name == "drill" )
|
||||||
|
{
|
||||||
|
// ignore any drill info for SMD pads
|
||||||
|
if( m_thruhole )
|
||||||
ret = parseDrill( child );
|
ret = parseDrill( child );
|
||||||
|
}
|
||||||
else if( name == "at" )
|
else if( name == "at" )
|
||||||
|
{
|
||||||
ret = Get2DPositionAndRotation( child, m_position, m_rotation );
|
ret = Get2DPositionAndRotation( child, m_position, m_rotation );
|
||||||
|
}
|
||||||
|
|
||||||
if( !ret )
|
if( !ret )
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue