mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-19 20:16:30 +02:00
[core] Treat a chunk as external if it is computed locally in another session
This commit is contained in:
parent
b08f83552e
commit
89b89d09c0
1 changed files with 2 additions and 1 deletions
|
@ -433,7 +433,8 @@ class NodeChunk(BaseObject):
|
||||||
self.node.nodeDesc.stopProcess(self)
|
self.node.nodeDesc.stopProcess(self)
|
||||||
|
|
||||||
def isExtern(self):
|
def isExtern(self):
|
||||||
return self._status.execMode == ExecMode.EXTERN
|
return self._status.execMode == ExecMode.EXTERN or (
|
||||||
|
self._status.execMode == ExecMode.LOCAL and self._status.sessionUid != meshroom.core.sessionUid)
|
||||||
|
|
||||||
statusChanged = Signal()
|
statusChanged = Signal()
|
||||||
status = Property(Variant, lambda self: self._status, notify=statusChanged)
|
status = Property(Variant, lambda self: self._status, notify=statusChanged)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue