Merge 7d8e7bcd0981dc8be5d2abbda9d4b44b5ff381df into 9d7af919b91838fb22e31ad0107a6ddcf8bd7f3f

This commit is contained in:
Xyse Goh 2025-10-01 20:28:16 +05:30 committed by GitHub
commit c163eca809
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2445,7 +2445,7 @@ v2 of the node. This node is only kept to not completely break older workflows.
if height == 0:
height = H
if divisible_by > 1 and get_image_size is None:
if divisible_by > 1:
width = width - (width % divisible_by)
height = height - (height % divisible_by)