From c214b48aa5b655b2d7cd2a4ac3a8384c05a5e843 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Tue, 23 Jun 2020 14:25:50 +0200 Subject: [PATCH] [core] fix Node.isComputed property --- meshroom/core/node.py | 2 +- meshroom/ui/qml/Viewer/Viewer2D.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meshroom/core/node.py b/meshroom/core/node.py index f1880084..6d1bb35e 100644 --- a/meshroom/core/node.py +++ b/meshroom/core/node.py @@ -777,7 +777,7 @@ class BaseNode(BaseObject): size = Property(int, getSize, notify=sizeChanged) globalStatusChanged = Signal() globalStatus = Property(str, lambda self: self.getGlobalStatus().name, notify=globalStatusChanged) - isComputed = Property(bool, lambda self: self._isComputed(), notify=globalStatusChanged) + isComputed = Property(bool, _isComputed, notify=globalStatusChanged) class Node(BaseNode): diff --git a/meshroom/ui/qml/Viewer/Viewer2D.qml b/meshroom/ui/qml/Viewer/Viewer2D.qml index b8eb9678..0556786a 100644 --- a/meshroom/ui/qml/Viewer/Viewer2D.qml +++ b/meshroom/ui/qml/Viewer/Viewer2D.qml @@ -386,7 +386,7 @@ FocusScope { property bool isUsed: displayFeatures.checked || displaySfmStatsView.checked || displaySfmDataGlobalStats.checked property var activeNode: _reconstruction.sfm - property bool isComputed: activeNode && activeNode.isComputed() + property bool isComputed: activeNode && activeNode.isComputed active: false // It takes time to load tracks, so keep them looaded, if we may use it again.