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:
parent
6a69396070
commit
9e9dfb38d1
|
@ -2328,9 +2328,6 @@ void PCB_IO_IPC2581::generateLayerFeatures( wxXmlNode* aStepNode )
|
||||||
|
|
||||||
for( PCB_LAYER_ID layer : pad_layers )
|
for( PCB_LAYER_ID layer : pad_layers )
|
||||||
{
|
{
|
||||||
if( fp->IsFlipped() )
|
|
||||||
layer = FlipLayer( layer );
|
|
||||||
|
|
||||||
if( pad->FlashLayer( layer ) )
|
if( pad->FlashLayer( layer ) )
|
||||||
elements[layer][pad->GetNetCode()].push_back( pad );
|
elements[layer][pad->GetNetCode()].push_back( pad );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue