mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-19 21:47:24 +08:00
Merge 730eeec5d3 into fce0398470
This commit is contained in:
commit
88c33c79e3
@ -324,7 +324,7 @@ class FeatherMask(IO.ComfyNode):
|
||||
|
||||
for x in range(right):
|
||||
feather_rate = (x + 1) / right
|
||||
output[:, :, -x] *= feather_rate
|
||||
output[:, :, -(x + 1)] *= feather_rate
|
||||
|
||||
for y in range(top):
|
||||
feather_rate = (y + 1) / top
|
||||
@ -332,7 +332,7 @@ class FeatherMask(IO.ComfyNode):
|
||||
|
||||
for y in range(bottom):
|
||||
feather_rate = (y + 1) / bottom
|
||||
output[:, -y, :] *= feather_rate
|
||||
output[:, -(y + 1), :] *= feather_rate
|
||||
|
||||
return IO.NodeOutput(output)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user