From 8f870e87d62b04dddf5a4ee0f11330f36088c999 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 5 Oct 2020 15:24:10 +0100 Subject: [PATCH] Flip default for KeepTopBottom in parser. File only has a token if it's set to true. --- pcbnew/pcb_parser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/pcb_parser.cpp b/pcbnew/pcb_parser.cpp index 3ab028a348..8aa4c26889 100644 --- a/pcbnew/pcb_parser.cpp +++ b/pcbnew/pcb_parser.cpp @@ -3418,6 +3418,9 @@ D_PAD* PCB_PARSER::parseD_PAD( MODULE* aParent ) std::unique_ptr< D_PAD > pad( new D_PAD( aParent ) ); + // File only contains a token if KeepTopBottom is true + pad->SetKeepTopBottom( false ); + NeedSYMBOLorNUMBER(); pad->SetName( FromUTF8() );