diff --git a/nodes/image_nodes.py b/nodes/image_nodes.py index ae6541d..982b909 100644 --- a/nodes/image_nodes.py +++ b/nodes/image_nodes.py @@ -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)