Index: layer_grp.c =================================================================== --- layer_grp.c (revision 27088) +++ layer_grp.c (revision 27089) @@ -686,8 +686,8 @@ if (xform != NULL) *xform = NULL; - if (pcb_gui->set_layer_group != NULL) - return pcb_gui->set_layer_group(pcb_gui, gid, grp->purpose, grp->purpi, grp->lid[0], grp->ltype, is_empty, xform); + if (pcb_render->set_layer_group != NULL) + return pcb_render->set_layer_group(pcb_gui, gid, grp->purpose, grp->purpi, grp->lid[0], grp->ltype, is_empty, xform); /* if the GUI doesn't have a set_layer, assume it wants to draw all layers */ return 1;