mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 09:18:27 +02:00
[core] no cmd line range arguments if we have only a single chunk
This commit is contained in:
parent
18be350e6f
commit
b000c6f311
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ class CommandLineNode(Node):
|
|||
if not alreadyInEnv:
|
||||
cmdPrefix = '{rez} {packageFullName} -- '.format(rez=os.environ.get('REZ_ENV'), packageFullName=chunk.node.packageFullName)
|
||||
cmdSuffix = ''
|
||||
if chunk.node.isParallelized:
|
||||
if chunk.node.isParallelized and chunk.node.size > 1:
|
||||
cmdSuffix = ' ' + self.commandLineRange.format(**chunk.range.toDict())
|
||||
return cmdPrefix + chunk.node.nodeDesc.commandLine.format(**chunk.node._cmdVars) + cmdSuffix
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue