mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-19 06:19:38 +08:00
Merge remote-tracking branch 'origin/master' into yuhao/fix-loginterceptor-flush-oserror-update
This commit is contained in:
commit
ff49facee2
@ -330,7 +330,7 @@ class FeatherMask(IO.ComfyNode):
|
|||||||
|
|
||||||
for x in range(right):
|
for x in range(right):
|
||||||
feather_rate = (x + 1) / right
|
feather_rate = (x + 1) / right
|
||||||
output[:, :, -x] *= feather_rate
|
output[:, :, -(x + 1)] *= feather_rate
|
||||||
|
|
||||||
for y in range(top):
|
for y in range(top):
|
||||||
feather_rate = (y + 1) / top
|
feather_rate = (y + 1) / top
|
||||||
@ -338,7 +338,7 @@ class FeatherMask(IO.ComfyNode):
|
|||||||
|
|
||||||
for y in range(bottom):
|
for y in range(bottom):
|
||||||
feather_rate = (y + 1) / bottom
|
feather_rate = (y + 1) / bottom
|
||||||
output[:, -y, :] *= feather_rate
|
output[:, -(y + 1), :] *= feather_rate
|
||||||
|
|
||||||
return IO.NodeOutput(output)
|
return IO.NodeOutput(output)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user