This commit is contained in:
Alvin Tang 2026-04-08 03:10:25 +00:00 committed by GitHub
commit 80116e866e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -709,7 +709,7 @@ class SplitImageToTileList(IO.ComfyNode):
def get_grid_coords(width, height, tile_width, tile_height, overlap):
coords = []
stride_x = round(max(tile_width * 0.25, tile_width - overlap))
stride_y = round(max(tile_width * 0.25, tile_height - overlap))
stride_y = round(max(tile_height * 0.25, tile_height - overlap))
y = 0
while y < height: