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:47:58 +02:00
parent c52fb23d4f
commit c37332bdb3
1 changed files with 0 additions and 9 deletions

View File

@ -893,11 +893,6 @@ void PlotSolderMaskLayer( BOARD *aBoard, PLOTTER* aPlotter, LSET aLayerMask,
ERROR_OUTSIDE ); 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 ); ERROR_OUTSIDE );
} }
} }
else if( item->IsOnLayer( Edge_Cuts ) )
{
itemplotter.PlotBoardGraphicItem( item );
}
} }
for( ZONE* zone : aBoard->Zones() ) for( ZONE* zone : aBoard->Zones() )