This commit is contained in:
Ryan Oldenburg 2022-07-25 23:50:32 -05:00
parent 0ad674fc29
commit f8e8de9c5f

View file

@ -853,7 +853,7 @@ proc spread(image: Image, spread: float32) {.raises: [PixieError].} =
maxValue = value
if maxValue == 255:
break
spreadX.unsafe[y, x] = rgbx(0, 0, 0, maxValue)
spreadX.unsafe[y, x].a = maxValue
# Spread in the Y direction and modify mask.
for y in 0 ..< image.height: