Skip to content

Commit

Permalink
hotfix: front - robustness fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ltdrdata committed Jan 19, 2025
1 parent c397c68 commit d8738ee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion js/impact-pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion modules/impact/config.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"]

Expand Down

0 comments on commit d8738ee

Please sign in to comment.