Setup layer mapping when importing Eagle library.

Fixes https://gitlab.com/kicad/code/kicad/issues/7891
This commit is contained in:
Jeff Young 2021-06-15 19:19:36 +01:00
parent 5b8f32acd2
commit 1a35d8ba5d
1 changed files with 1 additions and 0 deletions

View File

@ -2797,6 +2797,7 @@ void EAGLE_PLUGIN::cacheLib( const wxString& aLibPath )
m_xpath->push( "eagle.drawing.layers" );
wxXmlNode* layers = drawingChildren["layers"];
loadLayerDefs( layers );
mapEagleLayersToKicad();
m_xpath->pop();
m_xpath->push( "eagle.drawing.library" );