Don't report Eagle errors on the Unrouted layer.

Fixes https://gitlab.com/kicad/code/kicad/issues/3398
This commit is contained in:
Jeff Young 2020-02-05 20:36:04 +00:00
parent 9b74bb5c92
commit 5fdc424202
1 changed files with 3 additions and 1 deletions

View File

@ -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::USERLAYER1: kiLayer = Eco1_User; break;
case EAGLE_LAYER::USERLAYER2: kiLayer = Eco2_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::TKEEPOUT:
case EAGLE_LAYER::BKEEPOUT: case EAGLE_LAYER::BKEEPOUT:
case EAGLE_LAYER::TTEST: case EAGLE_LAYER::TTEST: