diff --git a/common/common_plotGERBER_functions.cpp b/common/common_plotGERBER_functions.cpp index 0df6b64ab5..75884ea547 100644 --- a/common/common_plotGERBER_functions.cpp +++ b/common/common_plotGERBER_functions.cpp @@ -209,8 +209,6 @@ bool GERBER_PLOTTER::StartPlot() fputs( "G01*\n", outputFile ); fputs( "G04 APERTURE LIST*\n", outputFile ); - /* Select the default aperture */ - SetCurrentLineWidth( USE_DEFAULT_LINE_WIDTH, 0 ); return true; } diff --git a/include/gbr_netlist_metadata.h b/include/gbr_netlist_metadata.h index f8fec83f40..728e4bdceb 100644 --- a/include/gbr_netlist_metadata.h +++ b/include/gbr_netlist_metadata.h @@ -26,17 +26,18 @@ #define GBR_NETLIST_METADATA_H -// this class handle info which can be added in a gerber file as attribute -// of an obtect -// the GBR_INFO_TYPE types can be OR'ed to add 2 (or more) attributes -// There are only 3 net attributes defined attached to an object by the %TO command -// %TO.P -// %TO.N -// %TO.C -// the .P attribute can be used only for flashed pads (using the D03 command) -// and only for external copper layers, if the component is on a external copper layer -// for other copper layer items (pads on internal layers, tracks ... ), only .N and .C -// can be used +/** this class handle info which can be added in a gerber file as attribute + * of an obtect + * the GBR_INFO_TYPE types can be OR'ed to add 2 (or more) attributes + * There are only 3 net attributes defined attached to an object by the %TO command + * %TO.P + * %TO.N + * %TO.C + * the .P attribute can be used only for flashed pads (using the D03 command) + * and only for external copper layers, if the component is on a external copper layer + * for other copper layer items (pads on internal layers, tracks ... ), only .N and .C + * can be used + */ class GBR_NETLIST_METADATA { public: @@ -106,7 +107,7 @@ public: if( *aName == ".P" ) { m_NetAttribType &= ~GBR_NETINFO_PAD; - m_Cmpref.clear(); + m_Padname.clear(); return; } }