make PreviewBridge as OUTPUT_NODE

This commit is contained in:
Dr.Lt.Data
2023-06-03 18:51:38 +09:00
parent 18d4db1502
commit 68d971dc68
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import configparser
import os
version = "V2.8"
version = "V2.8.1"
dependency_version = 1
+2
View File
@@ -1217,6 +1217,8 @@ class PreviewBridge(nodes.PreviewImage):
CATEGORY = "ImpactPack/Util"
OUTPUT_NODE = True
def doit(self, images, image, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None):
if image == "#placeholder" or image['image_hash'] != id(images):
# new input image