Enable bb and/or uvias when encountering them on Altium import.
Fixes https://gitlab.com/kicad/code/kicad/issues/10044
(cherry picked from commit 1d66925f5f
)
This commit is contained in:
parent
0fc4ccf8d9
commit
c9829cf9a8
|
@ -2486,10 +2486,12 @@ void ALTIUM_PCB::ParseVias6Data( const CFB::CompoundFileReader& aReader,
|
||||||
else if( ( !start_layer_outside ) && ( !end_layer_outside ) )
|
else if( ( !start_layer_outside ) && ( !end_layer_outside ) )
|
||||||
{
|
{
|
||||||
via->SetViaType( VIATYPE::BLIND_BURIED );
|
via->SetViaType( VIATYPE::BLIND_BURIED );
|
||||||
|
m_board->GetDesignSettings().m_BlindBuriedViaAllowed = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
via->SetViaType( VIATYPE::MICROVIA ); // TODO: always a microvia?
|
via->SetViaType( VIATYPE::MICROVIA ); // TODO: always a microvia?
|
||||||
|
m_board->GetDesignSettings().m_MicroViasAllowed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
PCB_LAYER_ID start_klayer = GetKicadLayer( elem.layer_start );
|
PCB_LAYER_ID start_klayer = GetKicadLayer( elem.layer_start );
|
||||||
|
|
Loading…
Reference in New Issue