mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 10:52:03 +02:00
[nodes] ImageProcessing: update output parameter changes
This commit is contained in:
parent
21fa9167ae
commit
c3ae491bac
1 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
__version__ = "1.1"
|
||||
__version__ = "2.0"
|
||||
|
||||
from meshroom.core import desc
|
||||
|
||||
|
@ -183,22 +183,22 @@ Convert or apply filtering to the input images.
|
|||
name='outSfMData',
|
||||
label='Output sfmData',
|
||||
description='Output sfmData.',
|
||||
value=lambda attr: (desc.Node.internalFolder + 'sfmData' + os.path.splitext(attr.node.input.value)[1]) if (os.path.splitext(attr.node.input.value)[1] in ['.abc', '.sfm']) else '',
|
||||
value=lambda attr: (desc.Node.internalFolder + os.path.basename(attr.node.input.value)) if (os.path.splitext(attr.node.input.value)[1] in ['.abc', '.sfm']) else '',
|
||||
uid=[],
|
||||
group='', # do not export on the command line
|
||||
),
|
||||
desc.File(
|
||||
name='outputFolder',
|
||||
label='Output Images Folder',
|
||||
name='output',
|
||||
label='Output Folder',
|
||||
description='Output Images Folder.',
|
||||
value=desc.Node.internalFolder,
|
||||
group='', # do not export on the command line
|
||||
uid=[],
|
||||
),
|
||||
desc.File(
|
||||
name='outputImages',
|
||||
label='Output Images',
|
||||
description='Output Image Files.',
|
||||
value=lambda attr: desc.Node.internalFolder + '*.' + (attr.node.extension.value or '*'),
|
||||
value=lambda attr: desc.Node.internalFolder + os.path.basename(attr.node.input.value) if (os.path.splitext(attr.node.input.value)[1] not in ['', '.abc', '.sfm']) else (desc.Node.internalFolder + '*.' + (attr.node.extension.value or '*')),
|
||||
group='', # do not export on the command line
|
||||
uid=[],
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue