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:
jean-pierre charras 2020-03-12 16:48:44 +01:00
parent dc9882c3b9
commit 08f0e8d6e8
1 changed files with 1 additions and 3 deletions

View File

@ -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 )