Browse Source

IPC2581: Correct flipped pad handling

Board footprints have pads already flipped, so we don't need to adjust
layers when outputting

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16659
newinvert
Seth Hillbrand 2 years ago
parent
commit
9e9dfb38d1
  1. 3
      pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.cpp

3
pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.cpp

@ -2328,9 +2328,6 @@ void PCB_IO_IPC2581::generateLayerFeatures( wxXmlNode* aStepNode )
for( PCB_LAYER_ID layer : pad_layers )
{
if( fp->IsFlipped() )
layer = FlipLayer( layer );
if( pad->FlashLayer( layer ) )
elements[layer][pad->GetNetCode()].push_back( pad );
}

Loading…
Cancel
Save