[nodes] Remove invalidate=True from descriptions

This commit is contained in:
Candice Bentéjac 2024-09-06 17:30:22 +02:00
parent 07b65499ce
commit 41a1b47c43
81 changed files with 8 additions and 1076 deletions

View file

@ -18,7 +18,6 @@ It also allows to export an undistorted image of the lens grids for validation.
label="Input SfMData",
description="Input SfMData file.",
value="",
invalidate=True,
),
desc.BoolParam(
name="exportNukeNode",
@ -26,21 +25,18 @@ It also allows to export an undistorted image of the lens grids for validation.
description="Export Nuke LensDistortion node as nuke file.\n"
"Only supports 3DEqualizer lens models.",
value=True,
invalidate=True,
),
desc.BoolParam(
name="exportLensGridsUndistorted",
label="Export Lens Grids Undistorted",
description="Export the lens grids undistorted for validation.",
value=True,
invalidate=True,
),
desc.BoolParam(
name="exportSTMaps",
label="Export STMaps",
description="Export STMaps for distortion and undistortion.",
value=True,
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -49,7 +45,6 @@ It also allows to export an undistorted image of the lens grids for validation.
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -59,7 +54,6 @@ It also allows to export an undistorted image of the lens grids for validation.
label="Folder",
description="Output folder.",
value=desc.Node.internalFolder,
invalidate=False,
),
desc.File(
name="distortionNukeNode",
@ -67,7 +61,6 @@ It also allows to export an undistorted image of the lens grids for validation.
description="Calibrated distortion ST map.",
value=desc.Node.internalFolder + "nukeLensDistortion_<INTRINSIC_ID>.nk",
group="", # do not export on the command line
invalidate=False,
enabled=lambda node: node.exportNukeNode.value,
),
desc.File(
@ -77,7 +70,6 @@ It also allows to export an undistorted image of the lens grids for validation.
semantic="image",
value=desc.Node.internalFolder + "lensgrid_<VIEW_ID>_undistort.exr",
group="", # do not export on the command line
invalidate=False,
enabled=lambda node: node.exportLensGridsUndistorted.value,
),
desc.File(
@ -87,7 +79,6 @@ It also allows to export an undistorted image of the lens grids for validation.
semantic="image",
value=desc.Node.internalFolder + "stmap_<INTRINSIC_ID>_distort.exr",
group="", # do not export on the command line
invalidate=False,
enabled=lambda node: node.exportSTMaps.value,
),
desc.File(
@ -97,7 +88,6 @@ It also allows to export an undistorted image of the lens grids for validation.
semantic="image",
value=desc.Node.internalFolder + "stmap_<INTRINSIC_ID>_undistort.exr",
group="", # do not export on the command line
invalidate=False,
enabled=lambda node: node.exportSTMaps.value,
),
]