mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
processGraph: is the value is empty, we do not add it to the command line
This commit is contained in:
parent
b7c22733f0
commit
ff2a65685c
1 changed files with 4 additions and 2 deletions
|
@ -306,8 +306,10 @@ class Node:
|
|||
|
||||
self._cmdVars[name] = '--{name} {value}'.format(name=name, value=v)
|
||||
self._cmdVars[name + 'Value'] = str(v)
|
||||
self._cmdVars[attr.attributeDesc.group] = self._cmdVars.get(attr.attributeDesc.group, '') + ' ' + \
|
||||
self._cmdVars[name]
|
||||
|
||||
if v is not None and v is not '':
|
||||
self._cmdVars[attr.attributeDesc.group] = self._cmdVars.get(attr.attributeDesc.group, '') + \
|
||||
' ' + self._cmdVars[name]
|
||||
|
||||
def internalFolder(self):
|
||||
return self.nodeDesc.internalFolder.format(nodeType=self.nodeType(), **self._cmdVars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue