mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 08:18:25 +02:00
removed duplicated call to findnodes
This commit is contained in:
parent
aa1edf8d7b
commit
f491b5a77b
2 changed files with 4 additions and 2 deletions
|
@ -193,8 +193,10 @@ if args.submit:
|
|||
if not args.save:
|
||||
raise ValueError('Need to save the project to file to submit on renderfarm.')
|
||||
# submit on renderfarm
|
||||
meshroom.core.graph.submit(args.save, args.submitter, toNode=toNodes)
|
||||
meshroom.core.graph.submit(args.save, args.submitter, toNode=args.toNode)
|
||||
elif args.compute:
|
||||
# find end nodes (None will compute all graph)
|
||||
toNodes = graph.findNodes(args.toNode) if args.toNode else None
|
||||
# start computation
|
||||
meshroom.core.graph.executeGraph(graph, toNodes=toNodes, forceCompute=args.forceCompute, forceStatus=args.forceStatus)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue