mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-12 04:37:32 +08:00
add OUTPUT_NODE = True to ImageCropV2
This commit is contained in:
parent
94f1a1cc9d
commit
79cd9d09eb
@ -65,6 +65,8 @@ class ImageCropV2(IO.ComfyNode):
|
|||||||
outputs=[IO.Image.Output()],
|
outputs=[IO.Image.Output()],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
OUTPUT_NODE = True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def execute(cls, image, crop_region) -> IO.NodeOutput:
|
def execute(cls, image, crop_region) -> IO.NodeOutput:
|
||||||
x = crop_region.get("x", 0)
|
x = crop_region.get("x", 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user