[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

@ -19,7 +19,6 @@ class ImageMasking(desc.AVCommandLineNode):
label="SfMData",
description="Input SfMData file.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="algorithm",
@ -28,7 +27,6 @@ class ImageMasking(desc.AVCommandLineNode):
value="HSV",
values=["HSV", "AutoGrayscaleThreshold"],
exclusive=True,
invalidate=True,
),
desc.GroupAttribute(
name="hsv",
@ -48,7 +46,6 @@ class ImageMasking(desc.AVCommandLineNode):
semantic="color/hue",
value=0.33,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
desc.FloatParam(
name="hsvHueRange",
@ -56,7 +53,6 @@ class ImageMasking(desc.AVCommandLineNode):
description="Tolerance around the hue value to isolate.",
value=0.1,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
desc.FloatParam(
name="hsvMinSaturation",
@ -64,7 +60,6 @@ class ImageMasking(desc.AVCommandLineNode):
description="Hue is meaningless if saturation is low. Do not mask pixels below this threshold.",
value=0.3,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
desc.FloatParam(
name="hsvMaxSaturation",
@ -72,7 +67,6 @@ class ImageMasking(desc.AVCommandLineNode):
description="Do not mask pixels above this threshold. It might be useful to mask white/black pixels.",
value=1.0,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
desc.FloatParam(
name="hsvMinValue",
@ -80,7 +74,6 @@ class ImageMasking(desc.AVCommandLineNode):
description="Hue is meaningless if the value is low. Do not mask pixels below this threshold.",
value=0.3,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
desc.FloatParam(
name="hsvMaxValue",
@ -88,7 +81,6 @@ class ImageMasking(desc.AVCommandLineNode):
description="Do not mask pixels above this threshold. It might be useful to mask white/black pixels.",
value=1.0,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
],
),
@ -98,7 +90,6 @@ class ImageMasking(desc.AVCommandLineNode):
description="If selected, the selected area is ignored.\n"
"If not, only the selected area is considered.",
value=True,
invalidate=True,
),
desc.IntParam(
name="growRadius",
@ -107,7 +98,6 @@ class ImageMasking(desc.AVCommandLineNode):
"It might be used to fill the holes: then use shrinkRadius to restore the initial coutours.",
value=0,
range=(0, 50, 1),
invalidate=True,
),
desc.IntParam(
name="shrinkRadius",
@ -115,21 +105,18 @@ class ImageMasking(desc.AVCommandLineNode):
description="Shrink the selected area.",
value=0,
range=(0, 50, 1),
invalidate=True,
),
desc.File(
name="depthMapFolder",
label="Depth Mask Folder",
description="Depth mask folder.",
value="",
invalidate=True,
),
desc.StringParam(
name="depthMapExp",
label="Depth Mask Expression",
description="Depth mask expression, like '{inputFolder}/{stem}-depth.{ext}'.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -138,7 +125,6 @@ class ImageMasking(desc.AVCommandLineNode):
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -148,6 +134,5 @@ class ImageMasking(desc.AVCommandLineNode):
label="Output",
description="Output folder.",
value=desc.Node.internalFolder,
invalidate=False,
),
]