7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-03-30 05:16:58 +00:00

Ignore negative layers when exporting Gerbers.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16871
This commit is contained in:
Jeff Young 2025-02-17 18:27:19 +00:00
parent 3c71e7ab09
commit 6a3f52dbaf

View File

@ -148,6 +148,9 @@ bool GBR_TO_PCB_EXPORTER::ExportPcb( const int* aLayerLookUpTable, int aCopperLa
void GBR_TO_PCB_EXPORTER::export_non_copper_item( const GERBER_DRAW_ITEM* aGbrItem, int aLayer )
{
if( aGbrItem->GetLayerPolarity() )
return;
// used when a D_CODE is not found. default D_CODE to draw a flashed item
static D_CODE dummyD_CODE( 0 );