mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 06:48:47 +02:00
[nodes] Replace the list of colorspaces with the utilitary constant
This commit is contained in:
parent
a7fc167512
commit
092dcfe722
9 changed files with 27 additions and 14 deletions
|
@ -1,6 +1,7 @@
|
|||
__version__ = "3.3"
|
||||
|
||||
from meshroom.core import desc
|
||||
from meshroom.core.utils import COLORSPACES
|
||||
|
||||
import os.path
|
||||
|
||||
|
@ -497,8 +498,8 @@ Convert or apply filtering to the input images.
|
|||
name="inputColorSpace",
|
||||
label="Input Color Space",
|
||||
description="Allows you to force the color space of the input image.",
|
||||
values=COLORSPACES,
|
||||
value="AUTO",
|
||||
values=["AUTO", "sRGB", "rec709", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
|
@ -506,8 +507,8 @@ Convert or apply filtering to the input images.
|
|||
name="outputColorSpace",
|
||||
label="Output Color Space",
|
||||
description="Allows you to choose the color space of the output image.",
|
||||
values=COLORSPACES,
|
||||
value="AUTO",
|
||||
values=["AUTO", "sRGB", "rec709", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
|
@ -515,8 +516,8 @@ Convert or apply filtering to the input images.
|
|||
name="workingColorSpace",
|
||||
label="Working Color Space",
|
||||
description="Allows you to choose the color space in which the data are processed.",
|
||||
values=COLORSPACES,
|
||||
value="Linear",
|
||||
values=["sRGB", "rec709", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
enabled=lambda node: not node.applyDcpMetadata.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue