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.

From master branch
This commit is contained in:
jean-pierre charras 2020-03-12 17:00:55 +01:00
parent 3cc3c1bbd3
commit 2c7ab3a28e
1 changed files with 1 additions and 4 deletions

View File

@ -331,10 +331,7 @@ void GERBER_PLOTTER::selectAperture( const wxSize& aSize,
( currentAperture->m_Type != aType ) ||
( currentAperture->m_Size != aSize );
if( !m_useNetAttributes )
aApertureAttribute = 0;
else
change = change || ( currentAperture->m_ApertureAttribute != aApertureAttribute );
change = change || ( currentAperture->m_ApertureAttribute != aApertureAttribute );
if( change )
{