diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index f4b210a419..2d9c1fc673 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -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 )