make PreviewBridge as OUTPUT_NODE
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import configparser
|
||||
import os
|
||||
|
||||
version = "V2.8"
|
||||
version = "V2.8.1"
|
||||
|
||||
dependency_version = 1
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user