Date:2011-03-25 00:42:47 (6 years 7 months ago)
Author:werner
Commit:78e4ba0d9cae8619967117c4586f8d4ad2f85f4d
Message:fped: mechanical holes had incorrect layers

- inst.c (inst_hole): set inst->u.hole.layers, not inst->u.pad.layers
- layer.c (mech_hole_layers): holes don't need solder paste



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@6006 99fdad57-331a-0410-800a-d7fa5415bdb3
Files: inst.c (1 diff)
layer.c (1 diff)

Change Details

inst.c
934934    inst = add_inst(&hole_ops, ip_hole, a);
935935    inst->obj = obj;
936936    inst->u.hole.other = b;
937    inst->u.pad.layers = mech_hole_layers();
937    inst->u.hole.layers = mech_hole_layers();
938938    find_inst(inst);
939939    update_bbox(&inst->bbox, b);
940940    propagate_bbox(inst);
layer.c
9191
9292layer_type mech_hole_layers(void)
9393{
94    return LAYER_PASTE_TOP | LAYER_PASTE_BOTTOM |
95        LAYER_MASK_TOP | LAYER_MASK_BOTTOM;
94    return LAYER_MASK_TOP | LAYER_MASK_BOTTOM;
9695}
9796
9897

Archive Download the corresponding diff file

Branches:
master



interactive