Fixed an error in the previous commit handling pin labels in GDS
input, which failed to update the "lastLabel" record of the cell in the case that the placeholder label being deleted was the last label, leading to labels being lost during GDS input.
This commit is contained in:
parent
5c36296acf
commit
92bf587a46
|
|
@ -928,6 +928,8 @@ calmaElementText()
|
|||
cifReadCellDef->cd_labels = lab->lab_next;
|
||||
else
|
||||
sl->lab_next = lab->lab_next;
|
||||
if (cifReadCellDef->cd_lastLabel == lab)
|
||||
cifReadCellDef->cd_lastLabel = sl;
|
||||
freeMagic((char *)lab);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue