f
This commit is contained in:
parent
470cfa2bdf
commit
2a8e631ed8
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue