mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
Merge pull request #2419 from alicevision/fix/variousFixes
[fix] Various fixes
This commit is contained in:
commit
859a1bee1b
3 changed files with 5 additions and 1 deletions
|
@ -1320,6 +1320,9 @@ class Graph(BaseObject):
|
|||
if path != self._filepath and setupProjectFile:
|
||||
self._setFilepath(path)
|
||||
|
||||
# update the file date version
|
||||
self._fileDateVersion = os.path.getmtime(path)
|
||||
|
||||
def getNonDefaultInputAttributes(self):
|
||||
"""
|
||||
Instead of getting all the inputs and internal attribute keys, only get the keys of
|
||||
|
|
|
@ -12,7 +12,7 @@ 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>'
|
||||
fileStem = '<FILESTEM>' if attr.node.keepImageFilename.value else '<VIEW_ID>'
|
||||
# If we have an SfM in input
|
||||
return desc.Node.internalFolder + fileStem + (outputExt or '.*')
|
||||
|
||||
|
|
|
@ -110,6 +110,7 @@ class FilepathHelper(QObject):
|
|||
"<PATH>": vp.childAttribute("path").value,
|
||||
"<FILENAME>": FilepathHelper.basename(FilepathHelper, vp.childAttribute("path").value),
|
||||
"<FILESTEM>": FilepathHelper.removeExtension(FilepathHelper, FilepathHelper.basename(FilepathHelper, vp.childAttribute("path").value)),
|
||||
"<EXTENSION>": FilepathHelper.extension(FilepathHelper, vp.childAttribute("path").value),
|
||||
}
|
||||
|
||||
resolved = path
|
||||
|
|
Loading…
Add table
Reference in a new issue