Fix a regression in session back-import from specctra, broken recently (The symptoms of this regression is that all tracks are moved to the front layer as they are back imported)

This commit is contained in:
unknown 2015-06-19 20:01:22 +02:00 committed by jean-pierre charras
parent e8fca89a2c
commit bea46ddde3
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void SPECCTRA_DB::buildLayerMaps( BOARD* aBoard )
{
LAYER_ID id = ( i < layerCount-1 ) ? ToLAYER_ID( i ) : B_Cu;
kicadLayer2pcb[i] = id;
pcbLayer2kicad[i] = id;
// save the specctra layer name in SPECCTRA_DB::layerIds for later.
layerIds.push_back( TO_UTF8( aBoard->GetLayerName( id ) ) );