From 7b64c38d526879da8b715aecfb6c470f15776977 Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Fri, 14 Apr 2023 13:52:19 -0600 Subject: [PATCH] Update nodes_post_processing.py --- comfy_extras/nodes_post_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_post_processing.py b/comfy_extras/nodes_post_processing.py index 341829b58..90090b104 100644 --- a/comfy_extras/nodes_post_processing.py +++ b/comfy_extras/nodes_post_processing.py @@ -308,7 +308,7 @@ class Rotate: else: raise ValueError(f"Invalid color format: {color_str}") - center = (center_x, center_y) if center_of_image == "disabled" else (width / 2, height / 2) + center = (width / 2, height / 2) if center_of_image == "enabled" else (center_x, center_y) translate = (translate_x, translate_y) color = fill_color.replace(" ", "")