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:
parent
e852d04043
commit
137640ac28
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue