[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

@ -20,7 +20,6 @@ Based on the input image filenames, it will recognize the input video sequence t
label="Input SfMData",
description="SfMData file containing a complete SfM.",
value="",
invalidate=True,
),
desc.File(
name="sfmDataFilter",
@ -28,7 +27,6 @@ Based on the input image filenames, it will recognize the input video sequence t
description="Filter out cameras from the export if they are part of this SfMData.\n"
"If empty, export all cameras.",
value="",
invalidate=True,
),
desc.File(
name="viewFilter",
@ -36,7 +34,6 @@ Based on the input image filenames, it will recognize the input video sequence t
description="Select the cameras to export using an expression based on the image filepath.\n"
"If empty, export all cameras.",
value="",
invalidate=True,
),
desc.BoolParam(
name="exportSTMaps",
@ -44,14 +41,12 @@ Based on the input image filenames, it will recognize the input video sequence t
description="Export ST maps. Motion (x, y) is encoded in the image channels to correct the lens distortion.\n"
"It represents the absolute pixel positions of an image normalized between 0 and 1.",
value=True,
invalidate=True,
),
desc.BoolParam(
name="exportUndistortedImages",
label="Export Undistorted Images",
description="Export undistorted images.",
value=False,
invalidate=True,
),
desc.ChoiceParam(
name="undistortedImageType",
@ -60,7 +55,6 @@ Based on the input image filenames, it will recognize the input video sequence t
value="exr",
values=["jpg", "png", "tif", "exr"],
exclusive=True,
invalidate=True,
enabled=lambda node: node.exportUndistortedImages.value,
),
desc.BoolParam(
@ -69,14 +63,12 @@ Based on the input image filenames, it will recognize the input video sequence t
description="Export full ROD.",
value=False,
enabled=lambda node: node.exportUndistortedImages.value and node.undistortedImageType.value == "exr",
invalidate=True,
),
desc.BoolParam(
name="correctPrincipalPoint",
label="Correct Principal Point",
description="Correct principal point.",
value=False,
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -85,7 +77,6 @@ Based on the input image filenames, it will recognize the input video sequence t
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -95,7 +86,6 @@ Based on the input image filenames, it will recognize the input video sequence t
label="Folder",
description="Output folder with animated camera and undistorted images.",
value=desc.Node.internalFolder,
invalidate=False,
),
desc.File(
name="outputCamera",
@ -103,7 +93,6 @@ Based on the input image filenames, it will recognize the input video sequence t
description="Output filename for the animated camera in Alembic format.",
value=desc.Node.internalFolder + "camera.abc",
group="", # exclude from command line
invalidate=False,
),
desc.File(
name="outputUndistorted",
@ -111,7 +100,6 @@ Based on the input image filenames, it will recognize the input video sequence t
description="Output undistorted folder.",
value=desc.Node.internalFolder + "undistort/",
group="", # exclude from command line
invalidate=False,
),
desc.File(
name="outputImages",
@ -121,6 +109,5 @@ Based on the input image filenames, it will recognize the input video sequence t
semantic="image",
group="", # exclude from command line
enabled=lambda node: node.exportUndistortedImages.value,
invalidate=False,
),
]