Remove auto-generated serialisation data on load (#900)

- Resolves #883
This commit is contained in:
filtered
2025-04-07 01:10:08 +10:00
committed by GitHub
parent 3b5cc8cd19
commit ed34080e46

View File

@@ -1567,6 +1567,8 @@ export class LGraph implements LinkNetwork, Serialisable<SerialisableGraph> {
this.updateExecutionOrder()
this.extra = data.extra || {}
// Ensure auto-generated serialisation data is removed from extra
delete this.extra.linkExtensions
this.onConfigure?.(data)
this._version++