From 1a35d8ba5d5bd5a02a998f37a9f355fff0622910 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Jun 2021 19:19:36 +0100 Subject: [PATCH] Setup layer mapping when importing Eagle library. Fixes https://gitlab.com/kicad/code/kicad/issues/7891 --- pcbnew/plugins/eagle/eagle_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/plugins/eagle/eagle_plugin.cpp b/pcbnew/plugins/eagle/eagle_plugin.cpp index d6477f8525..e570e4feb5 100644 --- a/pcbnew/plugins/eagle/eagle_plugin.cpp +++ b/pcbnew/plugins/eagle/eagle_plugin.cpp @@ -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" );