From a77b5649cc20198a1baee8ac9ea05c64e5385a4f Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Wed, 12 Jan 2022 20:51:45 -0500 Subject: [PATCH] Footprint editor: fix Eagle plugin footprint library layer mapping bug. Fixes https://gitlab.com/kicad/code/kicad/-/issues/10354 --- pcbnew/plugins/eagle/eagle_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/plugins/eagle/eagle_plugin.cpp b/pcbnew/plugins/eagle/eagle_plugin.cpp index 6f49778f9e..a1b7a7fc14 100644 --- a/pcbnew/plugins/eagle/eagle_plugin.cpp +++ b/pcbnew/plugins/eagle/eagle_plugin.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck - * Copyright (C) 2012-2021 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2012-2022 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -2946,7 +2946,7 @@ std::tuple EAGLE_PLUGIN::defaultKicadLayer( int aEagle case EAGLE_LAYER::BTEST: case EAGLE_LAYER::HOLES: default: - kiLayer = UNSELECTED_LAYER; + kiLayer = UNDEFINED_LAYER; break; }