Skip to content

Commit ee2904b

Browse files
committed
Fix mask creation
1 parent 3ca3659 commit ee2904b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/utils/mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def copy_to_mask(
3737

3838

3939
def create_mask_from(apply_to: Iterable[ArtLayer | LayerSet], layers: Iterable[ArtLayer]) -> None:
40-
background = create_color_layer(rgb_white(), clipped=False)
40+
background = create_color_layer(rgb_white(), None, clipped=False)
4141
layers_to_merge: list[ArtLayer] = [background]
4242
for layer in layers:
4343
duplicate = layer.duplicate(background, ElementPlacement.PlaceBefore)

0 commit comments

Comments
 (0)