Don't do layer trimming when importing Altium footprint libraries.

It's unclear (to me) what the long-term solution should be here --
Kicad can't currently show any FP layers other than F.Cu, B.Cu, and
In1.Cu -- but that might change.
This commit is contained in:
Jeff Young 2023-09-15 14:53:48 +01:00
parent c7f69503c0
commit 28e16fbdb9
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ std::vector<PCB_LAYER_ID> ALTIUM_PCB::GetKicadLayersToIterate( ALTIUM_LAYER aAlt
for( PCB_LAYER_ID layer : LSET::AllCuMask().Seq() )
{
if( m_board->IsLayerEnabled( layer ) )
if( !m_board || m_board->IsLayerEnabled( layer ) )
layers.emplace_back( layer );
}