mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-22 13:37:31 +02:00
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
This commit is contained in:
parent
335ddb6e1d
commit
78e4ba0d9c
2
inst.c
2
inst.c
@ -934,7 +934,7 @@ int inst_hole(struct obj *obj, struct coord a, struct coord b)
|
||||
inst = add_inst(&hole_ops, ip_hole, a);
|
||||
inst->obj = obj;
|
||||
inst->u.hole.other = b;
|
||||
inst->u.pad.layers = mech_hole_layers();
|
||||
inst->u.hole.layers = mech_hole_layers();
|
||||
find_inst(inst);
|
||||
update_bbox(&inst->bbox, b);
|
||||
propagate_bbox(inst);
|
||||
|
Loading…
Reference in New Issue
Block a user