Plot Solder mask layer: do not add items on edge_cut, but not on mask layer

it happened only when creating a solder mask plot with a minimum thickness.
This was a legacy option, incorrect now.
Fixes #14960
https://gitlab.com/kicad/code/kicad/-/issues/14960
This commit is contained in:
jean-pierre charras 2023-06-16 09:34:20 +02:00
parent a01f9f99f4
commit 4306af3ef3
1 changed files with 0 additions and 8 deletions

View File

@ -897,10 +897,6 @@ void PlotSolderMaskLayer( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
ERROR_OUTSIDE );
}
}
else if( item->IsOnLayer( Edge_Cuts ) )
{
itemplotter.PlotFootprintShape( static_cast<const FP_SHAPE*>( item ) );
}
}
}
@ -955,10 +951,6 @@ void PlotSolderMaskLayer( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
ERROR_OUTSIDE );
}
}
else if( item->IsOnLayer( Edge_Cuts ) )
{
itemplotter.PlotPcbGraphicItem( item );
}
}
for( ZONE* zone : aBoard->Zones() )