robust patch for PreviewBridge
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import configparser
|
||||
import os
|
||||
|
||||
version = "V2.8.1"
|
||||
version = "V2.8.2"
|
||||
|
||||
dependency_version = 1
|
||||
|
||||
|
||||
+1
-3
@@ -1217,10 +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):
|
||||
if image == "#placeholder" or image['image_hash'] != id(images) or ('0' in image and 'forward_filename' not in image[0]):
|
||||
# new input image
|
||||
res = self.save_images(images, filename_prefix, prompt, extra_pnginfo)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user