Browse Source

Don't export negative layers to copper.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20949
pull/18/head
Jeff Young 4 months ago
parent
commit
e4294aab85
  1. 3
      gerbview/export_to_pcbnew.cpp

3
gerbview/export_to_pcbnew.cpp

@ -325,6 +325,9 @@ void GBR_TO_PCB_EXPORTER::export_via( const EXPORT_VIA& aVia )
void GBR_TO_PCB_EXPORTER::export_copper_item( const GERBER_DRAW_ITEM* aGbrItem, int aLayer )
{
if( aGbrItem->GetLayerPolarity() )
return;
switch( aGbrItem->m_ShapeType )
{
case GBR_SPOT_CIRCLE:

Loading…
Cancel
Save