Add missing fix in commit 2c77888b

This commit is contained in:
jean-pierre charras 2023-03-07 14:08:03 +01:00
parent 2c77888b49
commit 5ccfc8e4ce
1 changed files with 1 additions and 1 deletions

View File

@ -1423,7 +1423,7 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard )
cutout = new PATH( window, T_polygon );
window->SetShape( cutout );
cutout->layer_id = m_layerIds[ m_kicadLayer2pcb[ zone->GetFirstLayer() ] ];
cutout->layer_id = m_layerIds[ m_kicadLayer2pcb[ layer ] ];
}
isStartContour = iterator.IsEndContour();