This commit is contained in:
Ryan Oldenburg 2022-06-12 21:07:37 -05:00
parent 470cfa2bdf
commit 2a8e631ed8

View file

@ -254,7 +254,8 @@ proc spread*(mask: Mask, spread: float32) {.raises: [PixieError].} =
let spread = round(spread).int
if spread == 0:
return
elif spread > 0:
if spread > 0:
# Spread in the X direction. Store with dimensions swapped for reading later.
let spreadX = newMask(mask.height, mask.width)