Fixed rare crash bug when interupting generation
parent
2808d1f00b
commit
b5c70c1a4b
|
|
@ -73,7 +73,7 @@ def renderImg2Img(
|
||||||
|
|
||||||
processed = process_images(p)
|
processed = process_images(p)
|
||||||
# For those that use Image grids this will make sure that ffmpeg does not crash out
|
# For those that use Image grids this will make sure that ffmpeg does not crash out
|
||||||
if (processed.images[0].size[0] != processed.images[1].size[0]):
|
if (processed.images[0].size[0] != processed.images[-1].size[0]):
|
||||||
processed.images.pop(0)
|
processed.images.pop(0)
|
||||||
print("\nGrid image detected applying patch")
|
print("\nGrid image detected applying patch")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue