Index: read.c =================================================================== --- read.c (revision 29681) +++ read.c (revision 29682) @@ -1181,7 +1181,7 @@ const pcb_dflgmap_t *m; while(ctx->pcb->LayerGroups.len > 0) - pcb_layergrp_del(ctx->pcb, 0, 1); + pcb_layergrp_del(ctx->pcb, 0, 1, 0); for(m = pcb_dflg_top_noncop; m->name != NULL; m++) map[len++] = *m;