Don't disable first internal layer in footprint editor.
It's used as a proxy for all internal layers. Also fixes LAYER_RANGE_ITERATOR so that it works with an odd number of copper layers. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20246
This commit is contained in:
+2
-1
@@ -703,7 +703,8 @@ LSET LSET::SideSpecificMask()
|
||||
|
||||
LSET LSET::ForbiddenFootprintLayers()
|
||||
{
|
||||
static const LSET saved = InternalCuMask();
|
||||
static LSET saved = InternalCuMask();
|
||||
saved.set( In1_Cu, false );
|
||||
return saved;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user