Browse Source

Include LAYER_LOCKED_ITEM_SHADOW in PADSTACK::EffectiveLayerFor() (KICAD-V2W)

pull/18/head
Jeff Young 4 months ago
parent
commit
9e07f1e68b
  1. 7
      pcbnew/padstack.cpp

7
pcbnew/padstack.cpp

@ -940,7 +940,7 @@ PCB_LAYER_ID PADSTACK::EffectiveLayerFor( PCB_LAYER_ID aLayer ) const
case LAYER_PAD_BK_NETNAMES:
return Mode() == MODE::NORMAL ? F_Cu : B_Cu;
// For these, just give the front copper geometry, it doesn't matter.
// For these, just give the front copper geometry, it doesn't matter.
case LAYER_PAD_NETNAMES:
case LAYER_VIA_NETNAMES:
case LAYER_PADS:
@ -948,6 +948,11 @@ PCB_LAYER_ID PADSTACK::EffectiveLayerFor( PCB_LAYER_ID aLayer ) const
case LAYER_VIA_HOLES:
case LAYER_PAD_HOLEWALLS:
case LAYER_VIA_HOLEWALLS:
case LAYER_LOCKED_ITEM_SHADOW:
return ALL_LAYERS;
// It's not 100% clear what people use these for, but presumably it's some form of documentation.
// In any case, there's no way for us to know which shape they want, so just give them the front.
case Dwgs_User:
case Eco1_User:
case Eco2_User:

Loading…
Cancel
Save