[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

@ -29,14 +29,12 @@ The alignment can be based on:
label="Input",
description="Input SfMData file .",
value="",
invalidate=True,
),
desc.File(
name="reference",
label="Reference",
description="Path to the scene used as the reference coordinate system.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="method",
@ -51,7 +49,6 @@ The alignment can be based on:
value="from_cameras_viewid",
values=["from_cameras_viewid", "from_cameras_poseid", "from_cameras_filepath", "from_cameras_metadata", "from_markers", 'from_landmarks'],
exclusive=True,
invalidate=True,
),
desc.StringParam(
name="fileMatchingPattern",
@ -66,7 +63,6 @@ The alignment can be based on:
" - Match the filename prefix before '_': "
r'".*\/(.*?)_.*\.\w{3}"',
value=r".*\/(.*?)\.\w{3}",
invalidate=True,
),
desc.ListAttribute(
elementDesc=desc.File(
@ -74,7 +70,6 @@ The alignment can be based on:
label="Metadata",
description="",
value="Metadata that should match to create the correspondences.",
invalidate=True,
),
name="metadataMatchingList",
label="Metadata Matching List",
@ -86,21 +81,18 @@ The alignment can be based on:
label="Scale",
description="Apply scale transformation.",
value=True,
invalidate=True,
),
desc.BoolParam(
name="applyRotation",
label="Rotation",
description="Apply rotation transformation.",
value=True,
invalidate=True,
),
desc.BoolParam(
name="applyTranslation",
label="Translation",
description="Apply translation transformation.",
value=True,
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -109,7 +101,6 @@ The alignment can be based on:
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -119,13 +110,11 @@ The alignment can be based on:
label="SfMData File",
description="Output SfMData file.",
value=lambda attr: desc.Node.internalFolder + (os.path.splitext(os.path.basename(attr.node.input.value))[0] or "sfmData") + ".abc",
invalidate=False,
),
desc.File(
name="outputViewsAndPoses",
label="Poses",
description="Path to the output SfMData file with cameras (views and poses).",
value=desc.Node.internalFolder + "cameras.sfm",
invalidate=False,
),
]