mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 13:05:07 +00:00
Made id on static Outputs optional, still required on DynamicOutput
This commit is contained in:
@@ -87,7 +87,7 @@ class PreviewImage_V3(io.ComfyNodeV3):
|
||||
|
||||
@classmethod
|
||||
def execute(cls, images):
|
||||
return io.NodeOutput(ui=ui.PreviewImage(images))
|
||||
return io.NodeOutput(ui=ui.PreviewImage(images, cls=cls))
|
||||
|
||||
|
||||
class LoadImage_V3(io.ComfyNodeV3):
|
||||
@@ -107,12 +107,8 @@ class LoadImage_V3(io.ComfyNodeV3):
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Image.Output(
|
||||
"IMAGE",
|
||||
),
|
||||
io.Mask.Output(
|
||||
"MASK",
|
||||
),
|
||||
io.Image.Output(),
|
||||
io.Mask.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -207,12 +203,8 @@ class LoadImageOutput_V3(io.ComfyNodeV3):
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Image.Output(
|
||||
"IMAGE",
|
||||
),
|
||||
io.Mask.Output(
|
||||
"MASK",
|
||||
),
|
||||
io.Image.Output(),
|
||||
io.Mask.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
|
@@ -39,7 +39,7 @@ class WebcamCapture_V3(io.ComfyNodeV3):
|
||||
io.Boolean.Input("capture_on_queue", default=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Image.Output("IMAGE"),
|
||||
io.Image.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user