mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[ui] graph: status check simplification
This commit is contained in:
parent
bb9df08213
commit
78fddabe45
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class ChunksMonitor(QObject):
|
|||
# Only chunks that are run externally should be monitored; when run locally, status changes are already notified
|
||||
if c.isExtern():
|
||||
# Chunks with an ERROR status may be re-submitted externally and should thus still be monitored
|
||||
if c._status.status is Status.SUBMITTED or c._status.status is Status.RUNNING or c._status.status is Status.ERROR:
|
||||
if c._status.status in {Status.SUBMITTED, Status.RUNNING, Status.ERROR}:
|
||||
files.append(c.statusFile)
|
||||
chunks.append(c)
|
||||
return files, chunks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue