Remove group association before plotting board outline in drill map

The plotter doesn't care about the grouping, and we expect the item to
have no group on deletion, so temporary items like this shouldn't be
part of one.

(Sentry issue KICAD-24Y)
This commit is contained in:
Ian McInerney 2023-06-14 00:26:46 +01:00
parent e852d04043
commit 137640ac28
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ bool GENDRILL_WRITER_BASE::genDrillMapFile( const wxString& aFullFileName, PLOT_
{
PCB_SHAPE dummy_shape( *static_cast<PCB_SHAPE*>( item ) );
dummy_shape.SetLayer( Dwgs_User );
dummy_shape.SetParentGroup( nullptr ); // Remove group association, not needed for plotting
itemplotter.PlotShape( &dummy_shape );
}
break;