mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-31 23:38:48 +02:00
[nodes] Remove invalidate=True
from descriptions
This commit is contained in:
parent
07b65499ce
commit
41a1b47c43
81 changed files with 8 additions and 1076 deletions
|
@ -27,7 +27,6 @@ This node allows to setup the Panorama:
|
|||
label="SfMData",
|
||||
description="Input SfMData file.",
|
||||
value="",
|
||||
invalidate=True,
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name="initializeCameras",
|
||||
|
@ -36,14 +35,12 @@ This node allows to setup the Panorama:
|
|||
value="No",
|
||||
values=["No", "File", "Horizontal", "Horizontal+Zenith", "Zenith+Horizontal", "Spherical"],
|
||||
exclusive=True,
|
||||
invalidate=True,
|
||||
),
|
||||
desc.File(
|
||||
name="config",
|
||||
label="XML Config",
|
||||
description="XML data file.",
|
||||
value="",
|
||||
invalidate=True,
|
||||
enabled=lambda node: node.initializeCameras.value == "File",
|
||||
),
|
||||
desc.BoolParam(
|
||||
|
@ -51,7 +48,6 @@ This node allows to setup the Panorama:
|
|||
label="Yaw CW",
|
||||
description="If selected, the yaw rotation will be clockwise. Otherwise, it will be counter-clockwise.",
|
||||
value=True,
|
||||
invalidate=True,
|
||||
enabled=lambda node: ("Horizontal" in node.initializeCameras.value) or (node.initializeCameras.value == "Spherical"),
|
||||
),
|
||||
desc.BoolParam(
|
||||
|
@ -60,7 +56,6 @@ This node allows to setup the Panorama:
|
|||
description="Build the contact sheet for the panorama if an XML data file is provided.\n"
|
||||
"The contact sheet consists in a preview of the panorama using the input images.",
|
||||
value=True,
|
||||
invalidate=True,
|
||||
enabled=lambda node: node.config.enabled and node.config.value != "",
|
||||
),
|
||||
desc.ListAttribute(
|
||||
|
@ -70,7 +65,6 @@ This node allows to setup the Panorama:
|
|||
description="Number of views for a line.",
|
||||
value=-1,
|
||||
range=(-1, 20, 1),
|
||||
invalidate=True,
|
||||
),
|
||||
name="nbViewsPerLine",
|
||||
label="Spherical: Nb Views Per Line",
|
||||
|
@ -85,14 +79,12 @@ This node allows to setup the Panorama:
|
|||
label="Full Fisheye",
|
||||
description="Set this option to declare a full fisheye panorama setup.",
|
||||
value=False,
|
||||
invalidate=True,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name="estimateFisheyeCircle",
|
||||
label="Estimate Fisheye Circle",
|
||||
description="Automatically estimate the fisheye circle center and radius instead of using user values.",
|
||||
value=True,
|
||||
invalidate=True,
|
||||
enabled=lambda node: node.useFisheye.value,
|
||||
),
|
||||
desc.GroupAttribute(
|
||||
|
@ -105,7 +97,6 @@ This node allows to setup the Panorama:
|
|||
label="x",
|
||||
description="X offset in pixels.",
|
||||
value=0.0,
|
||||
invalidate=True,
|
||||
range=(-1000.0, 10000.0, 1.0),
|
||||
),
|
||||
desc.FloatParam(
|
||||
|
@ -113,7 +104,6 @@ This node allows to setup the Panorama:
|
|||
label="y",
|
||||
description="Y offset in pixels.",
|
||||
value=0.0,
|
||||
invalidate=True,
|
||||
range=(-1000.0, 10000.0, 1.0),
|
||||
),
|
||||
],
|
||||
|
@ -126,7 +116,6 @@ This node allows to setup the Panorama:
|
|||
description="Fisheye visibillity circle radius (in % of image's shortest side).",
|
||||
value=96.0,
|
||||
range=(0.0, 150.0, 0.01),
|
||||
invalidate=True,
|
||||
enabled=lambda node: node.useFisheye.value and not node.estimateFisheyeCircle.value,
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
|
@ -136,14 +125,12 @@ This node allows to setup the Panorama:
|
|||
value="None",
|
||||
values=["None", "rotate90", "rotate180", "rotate270"],
|
||||
exclusive=True,
|
||||
invalidate=True,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name="debugFisheyeCircleEstimation",
|
||||
label="Debug Fisheye Circle Detection",
|
||||
description="Debug fisheye circle detection.",
|
||||
value=False,
|
||||
invalidate=True,
|
||||
enabled=lambda node: node.useFisheye.value,
|
||||
advanced=True,
|
||||
),
|
||||
|
@ -154,7 +141,6 @@ This node allows to setup the Panorama:
|
|||
values=VERBOSE_LEVEL,
|
||||
value="info",
|
||||
exclusive=True,
|
||||
invalidate=False,
|
||||
),
|
||||
]
|
||||
|
||||
|
@ -164,6 +150,5 @@ This node allows to setup the Panorama:
|
|||
label="SfMData File",
|
||||
description="Path to the output SfMData file.",
|
||||
value=desc.Node.internalFolder + "sfmData.sfm",
|
||||
invalidate=False,
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue