Fix reroutes not included in Insert Workflow (#2037)

This commit is contained in:
filtered
2024-12-24 15:24:54 +11:00
committed by GitHub
parent 3cb303ff05
commit 653ed6f096

View File

@@ -327,7 +327,8 @@ export const workflowService = {
skip_events: true,
skip_render: true
})
canvas.selectNodes()
canvas.reroutesEnabled = app.canvas.reroutesEnabled
canvas.selectItems()
canvas.copyToClipboard()
app.canvas.pasteFromClipboard()
if (old !== null) {