From 9e9dfb38d110f4b745d441c2bd82c5f2028e201e Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Thu, 25 Jan 2024 13:04:01 -0800 Subject: [PATCH] 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 --- pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.cpp b/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.cpp index cd019db897..3ae537fd80 100644 --- a/pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.cpp +++ b/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 ); }