Index: draw_ly_spec.c =================================================================== --- draw_ly_spec.c (revision 29416) +++ draw_ly_spec.c (revision 29417) @@ -56,7 +56,7 @@ cctx.info = info; cctx.gid = gid; cctx.color = ly != NULL ? &ly->meta.real.color : &conf_core.appearance.color.paste; - cctx.thin = conf_core.editor.thin_draw || conf_core.editor.thin_draw_poly || info->xform->wireframe; + cctx.thin = (info->xform != NULL) && (info->xform->thin_draw || info->xform->thin_draw_poly || info->xform->wireframe); cctx.invert = 0; if ((cctx.grp == NULL) || (cctx.grp->len == 0)) { /* fallback: no layers -> original code: draw a single auto-add */ @@ -94,7 +94,7 @@ cctx.info = info; cctx.gid = gid; cctx.color = ly != NULL ? &ly->meta.real.color : &conf_core.appearance.color.mask; - cctx.thin = conf_core.editor.thin_draw || conf_core.editor.thin_draw_poly || info->xform->wireframe; + cctx.thin = (info->xform != NULL) && (info->xform->thin_draw || info->xform->thin_draw_poly || info->xform->wireframe); cctx.invert = pcb_render->mask_invert; if (!cctx.invert) @@ -173,7 +173,7 @@ continue; lid = cctx.grp->lid[0]; cctx.color = invis ? &conf_core.appearance.color.invisible_objects : &info->pcb->Data->Layer[lid].meta.real.color; - cctx.thin = conf_core.editor.thin_draw || conf_core.editor.thin_draw_poly || info->xform->wireframe; + cctx.thin = (info->xform != NULL) && (info->xform->thin_draw || info->xform->thin_draw_poly || info->xform->wireframe); cctx.invert = 0; if ((lyt_type & PCB_LYT_SILK) && (pcb_is_silk_old_style(&cctx, lid))) {