Gerbview: Read excellon files: fix incorrect handling of G85 command. (fixes lp:1485420)
This commit is contained in:
parent
535f3ae006
commit
4212d99c3d
|
@ -537,12 +537,15 @@ bool EXCELLON_IMAGE::Execute_Drill_Command( char*& text )
|
|||
}
|
||||
gbritem = new GERBER_DRAW_ITEM( GetParent()->GetGerberLayout(), this );
|
||||
GetParent()->GetGerberLayout()->m_Drawings.Append( gbritem );
|
||||
if( m_SlotOn ) // Oval hole
|
||||
if( m_SlotOn ) // Oblong hole
|
||||
{
|
||||
fillLineGBRITEM( gbritem,
|
||||
tool->m_Num_Dcode, GetParent()->getActiveLayer(),
|
||||
m_PreviousPos, m_CurrentPos,
|
||||
tool->m_Size, false );
|
||||
// the hole is made: reset the slot on command (G85)
|
||||
// (it is needed for each oblong hole)
|
||||
m_SlotOn = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue