From d793345ebbf8a54eeca17f743d013514a6957186 Mon Sep 17 00:00:00 2001 From: kijai Date: Thu, 28 Sep 2023 12:58:21 +0300 Subject: [PATCH] Update nodes_mask.py --- comfy_extras/nodes_mask.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfy_extras/nodes_mask.py b/comfy_extras/nodes_mask.py index 012b46121..cdf762ffd 100644 --- a/comfy_extras/nodes_mask.py +++ b/comfy_extras/nodes_mask.py @@ -325,8 +325,8 @@ class GrowMask: def expand_mask(self, mask, expand, tapered_corners): c = 0 if tapered_corners else 1 kernel = np.array([[c, 1, c], - [1, 1, 1], - [c, 1, c]]) + [1, 1, 1], + [c, 1, c]]) mask = mask.reshape((-1, mask.shape[-2], mask.shape[-1])) out = [] for m in mask: