Index: obj_common.h =================================================================== --- obj_common.h (revision 29423) +++ obj_common.h (revision 29424) @@ -101,6 +101,7 @@ unsigned wireframe:1; /* when 1, draw wireframe contours instead of solid objects */ unsigned thin_draw:1; /* when 1, draw thin centerline instead of solid objects (implies thin_draw_poly) */ unsigned thin_draw_poly:1; /* when 1, draw thin countour instead of solid polygons */ + unsigned check_planes:1; /* when 1, draw polygons only */ /* WARNING: After adding new fields, make sure to update pcb_xform_add() and pcb_xform_is_nop() below */ }; @@ -118,6 +119,7 @@ __dst__->wireframe |= __src__->wireframe; \ __dst__->thin_draw |= __src__->thin_draw; \ __dst__->thin_draw_poly |= __src__->thin_draw_poly; \ + __dst__->check_planes |= __src__->check_planes; \ } while(0) #define pcb_xform_is_nop(src) (\ ((src)->bloat == 0) && \ @@ -126,7 +128,8 @@ ((src)->no_slot_in_nonmech == 0) && \ ((src)->wireframe == 0) && \ ((src)->thin_draw == 0) && \ - ((src)->thin_draw_poly == 0) \ + ((src)->thin_draw_poly == 0) && \ + ((src)->check_planes == 0) \ ) /* Returns true if overlay drawing should be omitted */