Fix mismatch between PCB_VIA defaults and file format defaults.

This commit is contained in:
Jeff Young 2022-10-15 00:26:09 +01:00
parent a855c9a40c
commit 0d7185c2ff
1 changed files with 4 additions and 0 deletions

View File

@ -5356,6 +5356,10 @@ PCB_VIA* PCB_PARSER::parsePCB_VIA()
std::unique_ptr<PCB_VIA> via = std::make_unique<PCB_VIA>( m_board );
// File format default is no-token == no-feature.
via->SetRemoveUnconnected( false );
via->SetKeepTopBottom( false );
for( token = NextTok(); token != T_RIGHT; token = NextTok() )
{
if( token == T_locked )