mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 04:41:58 +02:00
[nodes] Masking: Add parameter to specify the extension of the masks
Add the `maskExtension` parameter to specify the extension (by default, "png") of the masks that are to be loaded.
This commit is contained in:
parent
6af1607b35
commit
f9d8a1da02
2 changed files with 20 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
__version__ = "1.0"
|
||||
__version__ = "1.1"
|
||||
|
||||
from meshroom.core import desc
|
||||
|
||||
|
@ -47,6 +47,15 @@ Decimate triangles based on image masks.
|
|||
label="Masks Folders",
|
||||
description="Use masks from specific folder(s). Filename should be the same or the image UID.",
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name="maskExtension",
|
||||
label="Mask Extension",
|
||||
description="File extension for the masks to use.",
|
||||
value="png",
|
||||
values=["exr", "jpg", "png"],
|
||||
exclusive=True,
|
||||
uid=[0]
|
||||
),
|
||||
desc.IntParam(
|
||||
name="threshold",
|
||||
label="Threshold",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue