Index: obj_pstk_proto.c =================================================================== --- obj_pstk_proto.c (revision 18066) +++ obj_pstk_proto.c (revision 18067) @@ -322,8 +322,15 @@ ly = ly1; if (ly == NULL) ly = ly2; if (ly == NULL) ly = ly3; - if (ly == NULL) + if (ly == NULL) { + const char *locs, *mats; + locs = pcb_layer_type_bit2str(lyt & PCB_LYT_ANYWHERE); + mats = pcb_layer_type_bit2str(lyt & PCB_LYT_ANYTHING); + if (locs == NULL) locs = ""; + if (mats == NULL) mats = ""; + pcb_message(PCB_MSG_WARNING, "Can not create shape on %s %s\n", locs, mats); continue; + } clr = src->Clearance == 0 ? shp->clearance : src->Clearance; switch(shp->shape) {