Flip default for KeepTopBottom in parser.

File only has a token if it's set to true.
This commit is contained in:
Jeff Young 2020-10-05 15:24:10 +01:00
parent bb5d393917
commit 8f870e87d6
1 changed files with 3 additions and 0 deletions

View File

@ -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() );