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
This commit is contained in:
Seth Hillbrand 2024-01-25 13:04:01 -08:00
parent 6a69396070
commit 9e9dfb38d1
1 changed files with 0 additions and 3 deletions

View File

@ -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 );
}