Only remove existing ports

This commit is contained in:
Jan Petykiewicz 2023-06-02 21:17:00 -07:00 committed by jan
parent b443a2a41e
commit 3b2be804e2

View File

@ -430,7 +430,7 @@ class RenderPather(PortList):
batch.append(step)
# Opcodes which break the batch go below this line
if not appendable_op:
if not appendable_op and portspec in bb.ports:
del bb.ports[portspec]
#If the last batch didn't end yet