From d378dcc7345a8c388e327ffeab9adad6c183315a Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Fri, 9 Nov 2012 13:00:00 -0600 Subject: [PATCH] footprint save to use untranslated (English) layer names --- pcbnew/kicad_plugin.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index 1a6b2b8afb..c233eb8878 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -1050,8 +1050,9 @@ void PCB_IO::format( D_PAD* aPad, int aNestLevel ) const { if( m_board ) layerName = m_board->GetLayerName( layer ); - else - layerName = BOARD::GetDefaultLayerName( layer, true ); + + else // from FootprintSave() + layerName = BOARD::GetDefaultLayerName( layer, false ); m_out->Print( 0, " %s", m_out->Quotew( layerName ).c_str() ); }