Skip to content

Commit aae61c1

Browse files
committed
Fix new links cause corruption (link ID)
1 parent b217dbf commit aae61c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/subgraph/SubgraphInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class SubgraphInput extends SubgraphSlot {
5151
const link = new LLink(
5252
++subgraph.state.lastLinkId,
5353
slot.type,
54-
this.id,
54+
this.parent.id,
5555
this.parent.slots.indexOf(this),
5656
node.id,
5757
inputIndex,

src/subgraph/SubgraphOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class SubgraphOutput extends SubgraphSlot {
4848
slot.type,
4949
node.id,
5050
outputIndex,
51-
this.id,
51+
this.parent.id,
5252
this.parent.slots.indexOf(this),
5353
afterRerouteId,
5454
)

0 commit comments

Comments
 (0)