Merge 7d8e7bcd0981dc8be5d2abbda9d4b44b5ff381df into ff7f876c09ff5a53be051073c3c1731b96ee31a3

This commit is contained in:
Xyse Goh 2025-12-12 01:16:30 -05:00 committed by GitHub
commit 80a23605a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2534,7 +2534,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)