Commit d378dcc7 authored by Dick Hollenbeck's avatar Dick Hollenbeck

footprint save to use untranslated (English) layer names

parent 272936ef
......@@ -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() );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment