Index: acompnet.c =================================================================== --- acompnet.c (revision 34515) +++ acompnet.c (revision 34516) @@ -181,7 +181,7 @@ long int is, ie; if (ly == NULL) - ly = pcb_uilayer_alloc(acompnet_cookie, "autocomp-net", &ly_clr); + ly = pcb_uilayer_alloc(PCB_ACT_BOARD, acompnet_cookie, "autocomp-net", &ly_clr); pcb_msgr_init(&gr); acompnet_mesh(&gr, PCB_CURRLAYER(PCB));