From 0376e577442c236fbba6ef410a4e5ec64aed5017 Mon Sep 17 00:00:00 2001 From: Austin Mroz Date: Sun, 25 Aug 2024 11:25:08 -0500 Subject: [PATCH] Fix removal of Video Info output Previously, link redirection was performed on Load Video and Video Combine to facilitate loading or saving from latents. During this time, extra inputs and outputs were added that were hidden. The extra output was removed, but hiding code was not, which resulted in the next output, video_info, being hidden instead. Bump version --- pyproject.toml | 2 +- web/js/VHS.core.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2fcfbcb..57c4b1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-videohelpersuite" description = "Nodes related to video workflows" -version = "1.3.7" +version = "1.3.8" license = { file = "LICENSE" } dependencies = ["opencv-python", "imageio-ffmpeg"] diff --git a/web/js/VHS.core.js b/web/js/VHS.core.js index 89a80ed..efdf629 100755 --- a/web/js/VHS.core.js +++ b/web/js/VHS.core.js @@ -473,7 +473,6 @@ function applyVHSAudioLinksFix(nodeType, nodeData, audio_slot) { }) } function addVAEOutputToggle(nodeType, nodeData) { - nodeData.output.pop() chainCallback(nodeType.prototype, "onConnectionsChange", function(contype, slot, iscon, linfo) { if (contype == LiteGraph.INPUT && slot == 1 && this.inputs[1].type == "VAE") { if (iscon && linfo) { @@ -502,7 +501,6 @@ function addVAEOutputToggle(nodeType, nodeData) { }); } function addVAEInputToggle(nodeType, nodeData) { - delete nodeData.input.optional["latents"] chainCallback(nodeType.prototype, "onConnectionsChange", function(contype, slot, iscon, linf) { if (contype == LiteGraph.INPUT && slot == 3 && this.inputs[3].type == "VAE") { if (iscon && linf) {