mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 23:41:40 +00:00
Only test existing layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19694
This commit is contained in:
parent
8a0bff7351
commit
062a03c3aa
@ -1365,7 +1365,7 @@ void PCB_IO_KICAD_SEXPR::format( const FOOTPRINT* aFootprint ) const
|
||||
|
||||
void PCB_IO_KICAD_SEXPR::formatLayers( LSET aLayerMask ) const
|
||||
{
|
||||
static const LSET cu_all( LSET::AllCuMask() );
|
||||
static const LSET cu_all( LSET::AllCuMask( m_board->GetCopperLayerCount() ) );
|
||||
static const LSET fr_bk( { B_Cu, F_Cu } );
|
||||
static const LSET adhes( { B_Adhes, F_Adhes } );
|
||||
static const LSET paste( { B_Paste, F_Paste } );
|
||||
|
Loading…
Reference in New Issue
Block a user