Namespace vendored H3 nodes under Dumas

This commit is contained in:
2026-10-20 13:54:56 +00:00
parent 8445f0e500
commit cb9c3f339d
19 changed files with 456 additions and 321 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import { app } from "../../scripts/app.js";
const BUNDLE_NODE = "H3ContinuumReferenceImages";
const BUNDLE_NODE = "DumasH3Continuum_H3ContinuumReferenceImages";
const BUNDLE_INPUT = "image_references";
const BUNDLE_TYPE = "H3_CONTINUUM_IMAGE_REFERENCES";
export function migrateReferenceImageInputs(node) {
if (node.comfyClass !== "H3ContinuumSamplerV38") return;
if (node.comfyClass !== "DumasH3Continuum_H3ContinuumSamplerV38") return;
const graph = node.graph || app.graph;
const legacy = (node.inputs || []).filter(
(input) => ["reference_image_4", "reference_image_5"].includes(input.name),