fix: SplitImageToTileList and ImageMergeTileList to use tile_height for vertical stride minimum (#12882)

This commit is contained in:
Alvin Tang
2026-05-05 20:29:11 +08:00
committed by GitHub
parent fed8d5efa6
commit 8d75211300

View File

@ -716,7 +716,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: