Index: obj_poly.h =================================================================== --- obj_poly.h (revision 15868) +++ obj_poly.h (revision 15869) @@ -211,7 +211,7 @@ do { \ if (layer->is_bound) layer = layer->meta.bound.real; \ if (PCB_POLY_HAS_CLEARANCE(poly) && (layer != NULL)) \ - pcb_poly_clear_from_poly(layer->parent, PCB_TYPE_POLY, layer, poly); \ + pcb_poly_clear_from_poly(layer->parent, PCB_OBJ_POLY, layer, poly); \ } while(0) /* Let the poly clear sorrunding polys in its layer */ @@ -233,7 +233,7 @@ if ((layer != NULL) && (layer->parent->parent_type == PCB_PARENT_BOARD)) { \ if (layer->is_bound) layer = layer->meta.bound.real; \ if (PCB_POLY_HAS_CLEARANCE(poly) && (layer != NULL)) \ - pcb_poly_restore_to_poly(layer->parent, PCB_TYPE_POLY, layer, poly); \ + pcb_poly_restore_to_poly(layer->parent, PCB_OBJ_POLY, layer, poly); \ } \ } \ } while(0)