mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-01 15:58:36 +02:00
[nodes] Update of values from tuple to list for ChoiceParam
Update of values from tuple to list for ChoiceParam to be consistent everywhere. Before it was not a problem but because of dynamic choices we expect it to be editable list.
This commit is contained in:
parent
498fd6cbd2
commit
5dd13b0445
9 changed files with 14 additions and 14 deletions
|
@ -61,7 +61,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
|||
label="Texture Side",
|
||||
description="Output texture size.",
|
||||
value=8192,
|
||||
values=(1024, 2048, 4096, 8192, 16384),
|
||||
values=[1024, 2048, 4096, 8192, 16384],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
|
@ -70,7 +70,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
|||
label="Texture Downscale",
|
||||
description="Texture downscale factor.",
|
||||
value=2,
|
||||
values=(1, 2, 4, 8),
|
||||
values=[1, 2, 4, 8],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
|
@ -79,7 +79,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
|||
label="Mesh File Type",
|
||||
description="File type for the mesh output.",
|
||||
value="obj",
|
||||
values=("obj", "gltf", "fbx", "stl"),
|
||||
values=["obj", "gltf", "fbx", "stl"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
|
@ -103,7 +103,7 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
|||
label="File Type",
|
||||
description="Texture file type.",
|
||||
value="exr",
|
||||
values=("exr", "png", "tiff", "jpg"),
|
||||
values=["exr", "png", "tiff", "jpg"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.colorMapping.enable.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue