From 5fdc424202204af2d99c5fabb53227f42b554a89 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 5 Feb 2020 20:36:04 +0000 Subject: [PATCH] Don't report Eagle errors on the Unrouted layer. Fixes https://gitlab.com/kicad/code/kicad/issues/3398 --- pcbnew/eagle_plugin.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pcbnew/eagle_plugin.cpp b/pcbnew/eagle_plugin.cpp index 86caa37490..d368b93028 100644 --- a/pcbnew/eagle_plugin.cpp +++ b/pcbnew/eagle_plugin.cpp @@ -2318,7 +2318,9 @@ PCB_LAYER_ID EAGLE_PLUGIN::kicad_layer( int aEagleLayer ) const case EAGLE_LAYER::USERLAYER1: kiLayer = Eco1_User; break; case EAGLE_LAYER::USERLAYER2: kiLayer = Eco2_User; break; - case EAGLE_LAYER::UNROUTED: + // these will also appear in the ratsnest, so there's no need for a warning + case EAGLE_LAYER::UNROUTED: kiLayer = Dwgs_User; break; + case EAGLE_LAYER::TKEEPOUT: case EAGLE_LAYER::BKEEPOUT: case EAGLE_LAYER::TTEST: