From 2c7ab3a28edd0e3e417568a4824240794c544da5 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 12 Mar 2020 17:00:55 +0100 Subject: [PATCH] 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 --- common/plotters/GERBER_plotter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index 47d5c3e34b..e1b0b226bc 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -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 ) {