mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[core] node: udpate isExtern check
This commit is contained in:
parent
0c32060264
commit
75ab823c18
1 changed files with 4 additions and 2 deletions
|
@ -515,9 +515,11 @@ class NodeChunk(BaseObject):
|
|||
|
||||
def isExtern(self):
|
||||
""" The computation is managed externally by another instance of Meshroom.
|
||||
In the ambiguous case of an isolated environment, it is considered as local as we can stop it.
|
||||
In the ambiguous case of an isolated environment, it is considered as local as we can stop it (if it is run from the current Meshroom instance).
|
||||
"""
|
||||
uid = self._status.submitterSessionUid if self.node.getMrNodeType() == MrNodeType.NODE else meshroom.core.sessionUid
|
||||
if self._status.execMode == ExecMode.EXTERN:
|
||||
return True
|
||||
uid = self._status.submitterSessionUid if self.node.getMrNodeType() == MrNodeType.NODE else self._status.sessionUid
|
||||
return uid != meshroom.core.sessionUid
|
||||
|
||||
statusChanged = Signal()
|
||||
|
|
Loading…
Add table
Reference in a new issue