[nodes] Use utilitary constants for most common ChoiceParams

This commit is contained in:
Candice Bentéjac 2024-02-08 16:05:33 +01:00
parent b8d14fe6be
commit 0f6ad22d11
73 changed files with 195 additions and 109 deletions

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ExportDistortion(desc.AVCommandLineNode):
commandLine = 'aliceVision_exportDistortion {allParams}'
@ -41,6 +42,15 @@ It also allows to export an undistorted image of the lens grids for validation.
value=True,
uid=[0],
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
uid=[],
),
]
outputs = [