Enable bb and/or uvias when encountering them on Altium import.

Fixes https://gitlab.com/kicad/code/kicad/issues/10044
This commit is contained in:
Jeff Young 2022-03-22 22:33:18 +00:00
parent 482dbcec54
commit 1d66925f5f
1 changed files with 2 additions and 0 deletions

View File

@ -2831,10 +2831,12 @@ void ALTIUM_PCB::ParseVias6Data( const ALTIUM_COMPOUND_FILE& aAltiumPcbFile,
else if( ( !start_layer_outside ) && ( !end_layer_outside ) )
{
via->SetViaType( VIATYPE::BLIND_BURIED );
m_board->GetDesignSettings().m_BlindBuriedViaAllowed = true;
}
else
{
via->SetViaType( VIATYPE::MICROVIA ); // TODO: always a microvia?
m_board->GetDesignSettings().m_MicroViasAllowed = true;
}
PCB_LAYER_ID start_klayer = GetKicadLayer( elem.layer_start );