[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

@ -23,21 +23,18 @@ Post process the panorama.
label="Input Panorama",
description="Input panorama image.",
value="",
invalidate=True,
),
desc.BoolParam(
name="fillHoles",
label="Fill Holes Algorithm",
description="Fill the non attributed pixels with push pull algorithm if set.",
value=False,
invalidate=True,
),
desc.BoolParam(
name="exportLevels",
label="Export Downscaled Levels",
description="Export downscaled panorama levels.",
value=False,
invalidate=True,
),
desc.IntParam(
name="lastLevelMaxSize",
@ -45,7 +42,6 @@ Post process the panorama.
description="Maximum width of smallest downscaled panorama level.",
value=3840,
range=(1, 100000),
invalidate=True,
),
desc.IntParam(
name="previewSize",
@ -53,7 +49,6 @@ Post process the panorama.
description="The width (in pixels) of the output panorama preview.",
value=1000,
range=(0, 5000, 100),
invalidate=True,
),
desc.ChoiceParam(
name="outputColorSpace",
@ -62,7 +57,6 @@ Post process the panorama.
values=COLORSPACES,
value="Linear",
exclusive=True,
invalidate=True,
),
desc.ChoiceParam(
name="compressionMethod",
@ -71,7 +65,6 @@ Post process the panorama.
value="auto",
values=["none", "auto", "rle", "zip", "zips", "piz", "pxr24", "b44", "b44a", "dwaa", "dwab"],
exclusive=True,
invalidate=True,
),
desc.IntParam(
name="compressionLevel",
@ -81,7 +74,6 @@ Post process the panorama.
"A value of 0 will be ignored, default value for the selected method will be used.",
value=0,
range=(0, 500, 1),
invalidate=True,
enabled=lambda node: node.compressionMethod.value in ["dwaa", "dwab", "zip", "zips"],
),
desc.StringParam(
@ -109,7 +101,6 @@ Post process the panorama.
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -120,7 +111,6 @@ Post process the panorama.
description="Generated panorama in EXR format.",
semantic="image",
value=lambda attr: desc.Node.internalFolder + attr.node.panoramaName.value,
invalidate=False,
),
desc.File(
name="outputPanoramaPreview",
@ -128,14 +118,12 @@ Post process the panorama.
description="Preview of the generated panorama in JPG format.",
semantic="image",
value=lambda attr: desc.Node.internalFolder + attr.node.previewName.value,
invalidate=False,
),
desc.File(
name="downscaledPanoramaLevels",
label="Downscaled Panorama Levels",
description="Downscaled versions of the generated panorama.",
value=lambda attr: desc.Node.internalFolder + os.path.splitext(attr.node.panoramaName.value)[0] + "_level_*.exr",
invalidate=False,
group="",
),
]