mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 10:52:03 +02:00
[nodes] ImageProcessing : use keepImageFilename attribute
This commit is contained in:
parent
dcb2f672aa
commit
01a811d703
1 changed files with 2 additions and 1 deletions
|
@ -12,8 +12,9 @@ def outputImagesValueFunct(attr):
|
|||
outputExt = ('.' + attr.node.extension.value) if attr.node.extension.value else None
|
||||
|
||||
if inputExt in ['.abc', '.sfm']:
|
||||
fileStem = '<FILENAME>' if attr.node.keepImageFilename.value else '<VIEW_ID>'
|
||||
# If we have an SfM in input
|
||||
return desc.Node.internalFolder + '<VIEW_ID>' + (outputExt or '.*')
|
||||
return desc.Node.internalFolder + fileStem + (outputExt or '.*')
|
||||
|
||||
if inputExt:
|
||||
# if we have one or multiple files in input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue