Index: layer_vis.c =================================================================== --- layer_vis.c (revision 16177) +++ layer_vis.c (revision 16178) @@ -281,7 +281,7 @@ /* do not show paste and mask by default - they are distractive */ for(gid = 0; gid < pcb_max_group(PCB); gid++) { pcb_layergrp_t *g = &PCB->LayerGroups.grp[gid]; - if ((g->type & PCB_LYT_MASK) || (g->type & PCB_LYT_PASTE)) { + if ((g->ltype & PCB_LYT_MASK) || (g->ltype & PCB_LYT_PASTE)) { int n; g->vis = pcb_false; for(n = 0; n < g->len; n++) {