From 8ee7b50204308e9e4e873907bae171a2f665211f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Tue, 18 Feb 2025 16:02:48 +0100 Subject: [PATCH] [nodes] Fix labels and descriptions for some nodes --- meshroom/nodes/aliceVision/ExportMaya.py | 17 ++++++++--------- meshroom/nodes/aliceVision/ExtractMetadata.py | 4 ++-- meshroom/nodes/aliceVision/MaskProcessing.py | 8 ++++---- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/meshroom/nodes/aliceVision/ExportMaya.py b/meshroom/nodes/aliceVision/ExportMaya.py index 536c951f..1ccb13b6 100644 --- a/meshroom/nodes/aliceVision/ExportMaya.py +++ b/meshroom/nodes/aliceVision/ExportMaya.py @@ -20,14 +20,14 @@ class ExportMaya(desc.Node): ), desc.File( name="alembic", - label="Alembic file", + label="Alembic File", description="Input alembic file.", value="", ), desc.File( name="mesh", label="Input Mesh", - description="Input Mesh file.", + description="Input mesh file.", value="", ), desc.File( @@ -38,8 +38,8 @@ class ExportMaya(desc.Node): ), desc.BoolParam( name="generateMaya", - label="generate Maya scene", - description="Do we generate the scene or only export a mel script.", + label="Generate Maya Scene", + description="Select to generate the Maya scene in addition to the export of the mel script.", value=True, ), desc.ChoiceParam( @@ -54,14 +54,14 @@ class ExportMaya(desc.Node): outputs = [ desc.File( name="meloutput", - label="Mel script", - description="Generated mel script", + label="Mel Script", + description="Generated mel script.", value=desc.Node.internalFolder + "import.mel", ), desc.File( name="mayaoutput", - label="Maya scene", - description="Generated Maya scene", + label="Maya Scene", + description="Generated Maya scene.", value=desc.Node.internalFolder + "scene.mb", enabled=lambda node: node.generateMaya.value, ), @@ -219,5 +219,4 @@ class ExportMaya(desc.Node): chunk.logger.info("Maya Scene generated") - chunk.logManager.end() diff --git a/meshroom/nodes/aliceVision/ExtractMetadata.py b/meshroom/nodes/aliceVision/ExtractMetadata.py index deff3a76..389abbf5 100644 --- a/meshroom/nodes/aliceVision/ExtractMetadata.py +++ b/meshroom/nodes/aliceVision/ExtractMetadata.py @@ -25,7 +25,7 @@ Using exifTool, this node extracts metadata of all images referenced in a sfmDat desc.File( name="input", label="Input", - description="SfMData file input.", + description="SfMData input file.", value="", ), desc.BoolParam( @@ -45,7 +45,7 @@ Using exifTool, this node extracts metadata of all images referenced in a sfmDat desc.StringParam( name="arguments", label="Arguments", - description="ExifTool command arguments", + description="ExifTool command arguments.", value="", ), desc.BoolParam( diff --git a/meshroom/nodes/aliceVision/MaskProcessing.py b/meshroom/nodes/aliceVision/MaskProcessing.py index 7beb7ef6..86539567 100644 --- a/meshroom/nodes/aliceVision/MaskProcessing.py +++ b/meshroom/nodes/aliceVision/MaskProcessing.py @@ -44,7 +44,7 @@ class MaskProcessing(desc.AVCommandLineNode): value="", ), name="inputs", - label="Input directories", + label="Input Directories", description="A set of directories containing masks with the same names.", exposed=True, ), @@ -52,9 +52,9 @@ class MaskProcessing(desc.AVCommandLineNode): name="operator", label="Operator", description="Operator: Binary operator\n" - "OR : applies binary OR between all the masks\n" - "AND : applies binary AND between all the masks\n" - "NOT : applies binary NOT to the first mask in the list\n", + "OR: applies binary OR between all the masks\n" + "AND: applies binary AND between all the masks\n" + "NOT: applies binary NOT to the first mask in the list\n", value="and", values=["or", "and", "not"], ),