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:
Tim Edwards
2019-03-20 10:07:25 -04:00
parent 5c36296acf
commit 92bf587a46
+2
View File
@@ -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;
}