[hdri] workaround for HDRI pipeline on tractor

This commit is contained in:
Fabien Castan 2019-12-13 19:36:22 +01:00
parent d92e7613eb
commit a1c9802450
2 changed files with 16 additions and 1 deletions

View file

@ -135,7 +135,9 @@ def hdriPipeline(graph):
imagePairsList=imageMatching.output)
panoramaExternalInfo = graph.addNewNode('PanoramaExternalInfo',
input=ldr2hdr.outSfMDataFilename)
input=ldr2hdr.outSfMDataFilename,
matchesFolders=[featureMatching.output] # Workaround for tractor submission with a fake dependency
)
panoramaEstimation = graph.addNewNode('PanoramaEstimation',
input=panoramaExternalInfo.outSfMDataFilename,

View file

@ -25,6 +25,19 @@ class PanoramaExternalInfo(desc.CommandLineNode):
value='',
uid=[0],
),
desc.ListAttribute(
elementDesc=desc.File(
name='matchesFolder',
label='Matches Folder',
description="",
value='',
uid=[0],
),
name='matchesFolders',
label='Matches Folders',
description="Folder(s) in which computed matches are stored. (WORKAROUND for valid Tractor graph submission)",
group='forDependencyOnly',
),
desc.ChoiceParam(
name='verboseLevel',
label='Verbose Level',