mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
- undelete after recursive delete now brings back everything deleted in that
operation, not just one object at a time - vector reference counting is not needed now that we have recursive delete. Removed it. - completed recursive delete of vectors - gridify: give new vectors a minimum length, so that we don't get a weird display when starting a new footprint. git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5391 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
12
inst.c
12
inst.c
@@ -219,18 +219,6 @@ struct coord inst_get_point(const struct inst *inst)
|
||||
}
|
||||
|
||||
|
||||
struct vec *inst_get_ref(const struct inst *inst)
|
||||
{
|
||||
if (inst->ops == &vec_ops) {
|
||||
inst->vec->n_refs++;
|
||||
return inst->vec;
|
||||
}
|
||||
if (inst->ops == &frame_ops)
|
||||
return NULL;
|
||||
abort();
|
||||
}
|
||||
|
||||
|
||||
struct vec *inst_get_vec(const struct inst *inst)
|
||||
{
|
||||
if (inst->ops == &vec_ops)
|
||||
|
||||
Reference in New Issue
Block a user