Pcbnew, Gerber output: always generates Aperture Attributes.
Previously, for historical reasons, they were added only if Include Netlist Attributes option was on. But Aperture Attributes have nothing to do with Netlist Attributes, and good Gerber files must include them.
This commit is contained in:
parent
dc9882c3b9
commit
08f0e8d6e8
|
@ -347,9 +347,7 @@ void GERBER_PLOTTER::selectAperture( const wxSize& aSize,
|
|||
( m_apertures[m_currentApertureIdx].m_Type != aType ) ||
|
||||
( m_apertures[m_currentApertureIdx].m_Size != aSize );
|
||||
|
||||
if( !m_useNetAttributes )
|
||||
aApertureAttribute = 0;
|
||||
else if( !change )
|
||||
if( !change )
|
||||
change = m_apertures[m_currentApertureIdx].m_ApertureAttribute != aApertureAttribute;
|
||||
|
||||
if( change )
|
||||
|
|
Loading…
Reference in New Issue