mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-05-22 19:02:16 +08:00
Update image_nodes.py
removing "and get_image_size is None" to allow cropping even when using get_image_size.
This commit is contained in:
parent
8ecf5cd05e
commit
7d8e7bcd09
@ -2288,7 +2288,7 @@ highest dimension.
|
|||||||
if height == 0:
|
if height == 0:
|
||||||
height = H
|
height = H
|
||||||
|
|
||||||
if divisible_by > 1 and get_image_size is None:
|
if divisible_by > 1:
|
||||||
width = width - (width % divisible_by)
|
width = width - (width % divisible_by)
|
||||||
height = height - (height % divisible_by)
|
height = height - (height % divisible_by)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user