mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[bin] compute: put a message if the node is already computed
This commit is contained in:
parent
aa0f985077
commit
bc81e50426
1 changed files with 4 additions and 0 deletions
|
@ -52,9 +52,13 @@ if args.node:
|
|||
chunk = node.chunks[args.iteration]
|
||||
if chunk.status.status != Status.SUCCESS or args.forceCompute:
|
||||
chunk.process()
|
||||
else:
|
||||
print('Node chunk is already successfully computed. Nothing to do.')
|
||||
else:
|
||||
if not node.hasStatus(Status.SUCCESS) or args.forceCompute:
|
||||
node.process()
|
||||
else:
|
||||
print('Node is already successfully computed. Nothing to do.')
|
||||
else:
|
||||
if args.iteration != -1:
|
||||
print('Error: "--iteration" only make sense when used with "--node".')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue