Index: trunk/src_plugins/io_kicad/read.c =================================================================== --- trunk/src_plugins/io_kicad/read.c (revision 33128) +++ trunk/src_plugins/io_kicad/read.c (revision 33129) @@ -2627,7 +2627,7 @@ if ((st->dom.root->str == NULL) || (strcmp(st->dom.root->str, "kicad_pcb") != 0)) return -1; - pcb_data_clip_inhibit_inc(st->pcb); + pcb_data_clip_inhibit_inc(st->pcb->Data); /* Call the corresponding subtree parser for each child node of the root node; if any of them fail, parse fails */ @@ -2644,7 +2644,7 @@ ly->comb = PCB_LYC_AUTO; } - pcb_data_clip_inhibit_dec(st->pcb, rnd_true); + pcb_data_clip_inhibit_dec(st->pcb->Data, rnd_true); return ret; }