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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user