Index: src_plugins/io_pads/read.c =================================================================== --- src_plugins/io_pads/read.c (revision 34595) +++ src_plugins/io_pads/read.c (revision 34596) @@ -43,6 +43,7 @@ #include "board.h" #include "extobj.h" #include "thermal.h" +#include "netlist.h" #include "delay_create.h" #include "delay_clearance.h" @@ -344,7 +345,6 @@ pcb_dlcr_init(&rctx.dlcr); rctx.dlcr.flip_y = 1; rctx.dlcr.save_netname_objs = 1; - htsp_init(&rctx.parts, strhash, strkeyeq); /* read the header */ if (pads_parse_header(&rctx) != 0) { @@ -353,10 +353,10 @@ return -1; } - + htsp_init(&rctx.parts, strhash, strkeyeq); + ret = (pads_parse_block(&rctx) == 1) ? 0 : -1; - pads_assign_layers(&rctx); pcb_dlcr_create(pcb, &rctx.dlcr); pcb_dlcl_apply(pcb, rctx.clr);