Skip to content

Commit 84769a0

Browse files
authored
Merge pull request #2695 from alicevision/fix/computationTime
[core] Node: Status should be `NONE` when there is no chunk
2 parents 08614a3 + df7e6f8 commit 84769a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meshroom/core/node.py

+3
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,9 @@ def getGlobalStatus(self):
11741174
"""
11751175
if isinstance(self.nodeDesc, desc.InputNode):
11761176
return Status.INPUT
1177+
if not self._chunks:
1178+
return Status.NONE
1179+
11771180
chunksStatus = [chunk.status.status for chunk in self._chunks]
11781181

11791182
anyOf = (Status.ERROR, Status.STOPPED, Status.KILLED,

0 commit comments

Comments
 (0)