mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-11 01:32:31 +08:00
Update nodes_post_processing.py
This commit is contained in:
parent
cf2b046ec3
commit
7b64c38d52
@ -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(" ", "")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user