[nodes] SfMMerge/SfMToRig: Update labels and descriptions

This commit is contained in:
Candice Bentéjac 2023-10-10 11:15:45 +02:00
parent d18cadc5ec
commit 801ba75fe5
2 changed files with 8 additions and 8 deletions

View file

@ -29,27 +29,27 @@ class MergeNodeSize(object):
return size1 + size2
class SfmMerge(desc.AVCommandLineNode):
class SfMMerge(desc.AVCommandLineNode):
commandLine = 'aliceVision_sfmMerge {allParams}'
size = MergeNodeSize('firstinput', 'secondinput')
category = 'Utils'
documentation = '''
Merge two sfmData into a single one. Fails if some uid is shared among them
Merges two SfMData files into a single one. Fails if some UID is shared among them.
'''
inputs = [
desc.File(
name="firstinput",
label="SfMData",
description="First Input SfMData file.",
label="First SfMData",
description="First input SfMData file to merge.",
value="",
uid=[0],
),
desc.File(
name="secondinput",
label="SfMData",
description="Second Input SfMData file.",
label="Second SfMData",
description="Second input SfMData file to merge.",
value="",
uid=[0],
),

View file

@ -3,13 +3,13 @@ __version__ = "1.0"
from meshroom.core import desc
import os.path
class SfmToRig(desc.AVCommandLineNode):
class SfMToRig(desc.AVCommandLineNode):
commandLine = 'aliceVision_sfmToRig {allParams}'
size = desc.DynamicNodeSize('input')
category = 'Utils'
documentation = '''
Assumes input sfm data describes a set of cameras capturing a scene at a common time. Transform the set of cameras into a rig of cameras.
Assumes the input SfMData describes a set of cameras capturing a scene at a common time. Transformd the set of cameras into a rig of cameras.
'''
inputs = [