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:
parent
c7f69503c0
commit
28e16fbdb9
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue