Index: find_geo.c =================================================================== --- find_geo.c (revision 36418) +++ find_geo.c (revision 36419) @@ -838,11 +838,11 @@ /* cheat: poly-clear-poly means we did generate the clearance; this shall happen only if there's exactly one poly that is clearing the other */ - if ((Bloat == 0) && !ctx->ignore_clearance && PCB_FLAG_TEST(PCB_FLAG_CLEARPOLYPOLY, P1)) { + if ((Bloat == 0) && !ctx->ignore_clearance && PCB_FLAG_TEST(PCB_FLAG_CLEARPOLYPOLY, P1) && !PCB_FLAG_TEST(PCB_FLAG_CLEARPOLYPOLY, P2)) { pcp_cnt++; pcp_gap = pcb_obj_clearance_p2(P1, P2) / 2.0; } - if (!ctx->ignore_clearance && PCB_FLAG_TEST(PCB_FLAG_CLEARPOLYPOLY, P2)) { + if (!ctx->ignore_clearance && PCB_FLAG_TEST(PCB_FLAG_CLEARPOLYPOLY, P2) && !PCB_FLAG_TEST(PCB_FLAG_CLEARPOLYPOLY, P1)) { pcp_cnt++; pcp_gap = pcb_obj_clearance_p2(P2, P1) / 2.0; }