From 75ab823c1893f0864d142ef0f6e19f5611b1c0a6 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Fri, 28 Mar 2025 12:16:40 +0100 Subject: [PATCH] [core] node: udpate isExtern check --- meshroom/core/node.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meshroom/core/node.py b/meshroom/core/node.py index b86c9a21..40c402b4 100644 --- a/meshroom/core/node.py +++ b/meshroom/core/node.py @@ -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()