hotfix: front - robustness fix

https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/886#issuecomment-2600716281
This commit is contained in:
Dr.Lt.Data
2025-01-19 18:08:59 +09:00
parent c397c68ca3
commit d8738eee2f
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -365,7 +365,11 @@ app.registerExtension({
// connect input
if(this.inputs[0].type == '*'){
const node = app.graph.getNodeById(link_info.origin_id);
let origin_type = node.outputs[link_info.origin_slot].type;
let origin_type = node.outputs[link_info.origin_slot]?.type;
if(origin_type==undefined) {
return; // fallback
}
if(origin_type == '*') {
this.disconnectInput(link_info.target_slot);
+1 -1
View File
@@ -1,7 +1,7 @@
import configparser
import os
version_code = [8, 4]
version_code = [8, 4, 1]
version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
dependency_version = 24
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-impact-pack"
description = "This node pack offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler."
version = "8.4"
version = "8.4.1"
license = { file = "LICENSE.txt" }
dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]