mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-21 10:37:18 +02:00
[core] saveOutputAttr directly after the processChunk
This commit is contained in:
parent
8c6fca2a28
commit
830372b326
1 changed files with 2 additions and 1 deletions
|
@ -415,6 +415,8 @@ class NodeChunk(BaseObject):
|
||||||
self.statThread.start()
|
self.statThread.start()
|
||||||
try:
|
try:
|
||||||
self.node.nodeDesc.processChunk(self)
|
self.node.nodeDesc.processChunk(self)
|
||||||
|
# NOTE: this assumes saving the output attributes for each chunk
|
||||||
|
self.node.saveOutputAttr()
|
||||||
except Exception:
|
except Exception:
|
||||||
if self._status.status != Status.STOPPED:
|
if self._status.status != Status.STOPPED:
|
||||||
exceptionStatus = Status.ERROR
|
exceptionStatus = Status.ERROR
|
||||||
|
@ -1086,7 +1088,6 @@ class BaseNode(BaseObject):
|
||||||
def postprocess(self):
|
def postprocess(self):
|
||||||
# Invoke the post process on Client Node to execute after the processing on the node is completed
|
# Invoke the post process on Client Node to execute after the processing on the node is completed
|
||||||
self.nodeDesc.postprocess(self)
|
self.nodeDesc.postprocess(self)
|
||||||
self.saveOutputAttr()
|
|
||||||
|
|
||||||
def updateOutputAttr(self):
|
def updateOutputAttr(self):
|
||||||
if not self.nodeDesc:
|
if not self.nodeDesc:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue