mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 03:11:56 +02:00
[graph] add 'updated' signal
This commit is contained in:
parent
d493d0e7e2
commit
5b1b5a1b32
1 changed files with 4 additions and 1 deletions
|
@ -1431,7 +1431,9 @@ class Graph(BaseObject):
|
|||
self._updateRequested = True
|
||||
return
|
||||
self.updateInternals()
|
||||
self.updateStatusFromCache()
|
||||
if os.path.exists(self._cacheDir):
|
||||
self.updateStatusFromCache()
|
||||
self.updated.emit()
|
||||
|
||||
def stopExecution(self):
|
||||
""" Request graph execution to be stopped by terminating running chunks"""
|
||||
|
@ -1499,6 +1501,7 @@ class Graph(BaseObject):
|
|||
filepath = Property(str, lambda self: self._filepath, notify=filepathChanged)
|
||||
cacheDirChanged = Signal()
|
||||
cacheDir = Property(str, cacheDir.fget, cacheDir.fset, notify=cacheDirChanged)
|
||||
updated = Signal()
|
||||
|
||||
|
||||
def loadGraph(filepath):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue