mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Ignore negative layers when exporting Gerbers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16871 (cherry picked from commit 6a3f52dbaf2b05b85c84c75cf36edc525aa65196)
This commit is contained in:
parent
fd2932bc06
commit
812bbe8919
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user