mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +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
|
@ -6,6 +6,7 @@ import os
|
|||
from collections import Counter
|
||||
|
||||
from meshroom.core import desc
|
||||
from meshroom.core.utils import COLORSPACES
|
||||
|
||||
|
||||
def findMetadata(d, keys, defaultValue):
|
||||
|
@ -126,8 +127,8 @@ Sample pixels from Low range images for HDR creation.
|
|||
label="Working Color Space",
|
||||
description="Color space in which the data are processed.\n"
|
||||
"If 'auto' is selected, the working color space will be 'Linear' if RAW images are detected; otherwise, it will be set to 'sRGB'.",
|
||||
value="auto",
|
||||
values=["auto", "sRGB", "Linear", "ACES2065-1", "ACEScg", "no_conversion"],
|
||||
values=COLORSPACES,
|
||||
value="AUTO",
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.byPass.enabled and not node.byPass.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue