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:
parent
c52fb23d4f
commit
c37332bdb3
|
@ -893,11 +893,6 @@ void PlotSolderMaskLayer( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
|
|||
ERROR_OUTSIDE );
|
||||
}
|
||||
}
|
||||
else if( item->IsOnLayer( Edge_Cuts ) )
|
||||
{
|
||||
if( item->Type() == PCB_SHAPE_T )
|
||||
itemplotter.PlotShape( static_cast<const PCB_SHAPE*>( item ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -952,10 +947,6 @@ void PlotSolderMaskLayer( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
|
|||
ERROR_OUTSIDE );
|
||||
}
|
||||
}
|
||||
else if( item->IsOnLayer( Edge_Cuts ) )
|
||||
{
|
||||
itemplotter.PlotBoardGraphicItem( item );
|
||||
}
|
||||
}
|
||||
|
||||
for( ZONE* zone : aBoard->Zones() )
|
||||
|
|
Loading…
Reference in New Issue