mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 21:46:28 +02:00
[core] fix Node.isComputed property
This commit is contained in:
parent
451f5d65c0
commit
c214b48aa5
2 changed files with 2 additions and 2 deletions
|
@ -777,7 +777,7 @@ class BaseNode(BaseObject):
|
||||||
size = Property(int, getSize, notify=sizeChanged)
|
size = Property(int, getSize, notify=sizeChanged)
|
||||||
globalStatusChanged = Signal()
|
globalStatusChanged = Signal()
|
||||||
globalStatus = Property(str, lambda self: self.getGlobalStatus().name, notify=globalStatusChanged)
|
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):
|
class Node(BaseNode):
|
||||||
|
|
|
@ -386,7 +386,7 @@ FocusScope {
|
||||||
|
|
||||||
property bool isUsed: displayFeatures.checked || displaySfmStatsView.checked || displaySfmDataGlobalStats.checked
|
property bool isUsed: displayFeatures.checked || displaySfmStatsView.checked || displaySfmDataGlobalStats.checked
|
||||||
property var activeNode: _reconstruction.sfm
|
property var activeNode: _reconstruction.sfm
|
||||||
property bool isComputed: activeNode && activeNode.isComputed()
|
property bool isComputed: activeNode && activeNode.isComputed
|
||||||
|
|
||||||
active: false
|
active: false
|
||||||
// It takes time to load tracks, so keep them looaded, if we may use it again.
|
// It takes time to load tracks, so keep them looaded, if we may use it again.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue