Disable native reroute migration (#3379)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2025-04-10 08:50:07 -04:00
committed by GitHub
parent 22ae30132c
commit 261f671ef0
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 103 KiB

View File

@@ -44,7 +44,7 @@ app.registerExtension({
}
if (!(type in this.slot_types_default_out)) {
this.slot_types_default_out[type] = []
this.slot_types_default_out[type] = ['Reroute']
}
if (this.slot_types_default_out[type].includes(nodeId)) continue
this.slot_types_default_out[type].push(nodeId)
@@ -65,7 +65,7 @@ app.registerExtension({
for (const el of outputs) {
const type = el as string
if (!(type in this.slot_types_default_in)) {
this.slot_types_default_in[type] = []
this.slot_types_default_in[type] = ['Reroute']
}
if (this.slot_types_default_in[type].includes(nodeId)) continue

View File

@@ -965,7 +965,7 @@ export class ComfyApp {
{
showMissingNodesDialog = true,
showMissingModelsDialog = true,
checkForRerouteMigration = true
checkForRerouteMigration = false
} = {}
) {
if (clean !== false) {