Index: exto_trdp.c =================================================================== --- exto_trdp.c (revision 34556) +++ exto_trdp.c (revision 34557) @@ -230,8 +230,15 @@ /* pcb_attribute_put(&subc->Attributes, "extobj::pitch", "4mm");*/ } + /* finish layer binding: intern copper needs offset, use name for the rest */ + ly = &subc->data->Layer[LID_EDIT]; + if ((layers[0].lyt & PCB_LYT_INTERN) && (dst->parent_type == PCB_PARENT_BOARD)) { + pcb_layer_real2bound_offs(ly, dst->parent.board, l->parent.layer); + pcb_subc_rebind(dst->parent.board, subc); + } + + /* create edit-objects */ - ly = &subc->data->Layer[LID_EDIT]; l = pcb_line_dup(ly, objs->array[0]); PCB_FLAG_SET(PCB_FLAG_FLOATER, l); PCB_FLAG_CLEAR(PCB_FLAG_SELECTED, l);