Added resistors and inductors to the list of devices whose merging
properties are defined by "property default".
This commit is contained in:
parent
618f912cac
commit
be819b7200
|
|
@ -3029,9 +3029,17 @@ _netcmp_property(ClientData clientData,
|
||||||
PropertyDelete(tp->name, tp->file, "ps");
|
PropertyDelete(tp->name, tp->file, "ps");
|
||||||
PropertyDelete(tp->name, tp->file, "pd");
|
PropertyDelete(tp->name, tp->file, "pd");
|
||||||
break;
|
break;
|
||||||
|
case CLASS_RES: case CLASS_RES3:
|
||||||
|
PropertyMerge(tp->name, tp->file, "l", MERGE_PAR_CRIT);
|
||||||
|
break;
|
||||||
case CLASS_CAP: case CLASS_ECAP: case CLASS_CAP3:
|
case CLASS_CAP: case CLASS_ECAP: case CLASS_CAP3:
|
||||||
|
// NOTE: No attempt to combine area, width, or length;
|
||||||
|
// only value.
|
||||||
PropertyMerge(tp->name, tp->file, "value", MERGE_ADD_CRIT);
|
PropertyMerge(tp->name, tp->file, "value", MERGE_ADD_CRIT);
|
||||||
break;
|
break;
|
||||||
|
case CLASS_INDUCTOR:
|
||||||
|
PropertyMerge(tp->name, tp->file, "value", MERGE_PAR_CRIT);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
tp = NextCell();
|
tp = NextCell();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue