mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
[core] update nodes topological data after nodes status update
evaluate nodes computability requires up-to-date status
This commit is contained in:
parent
5ddf138554
commit
ae716602ab
1 changed files with 6 additions and 6 deletions
|
@ -897,18 +897,18 @@ class Graph(BaseObject):
|
|||
self._updateRequested = True
|
||||
return
|
||||
|
||||
# Graph topology has changed
|
||||
if self.dirtyTopology:
|
||||
# update nodes topological data cache
|
||||
self.updateNodesTopologicalData()
|
||||
self.dirtyTopology = False
|
||||
|
||||
self.updateInternals()
|
||||
if os.path.exists(self._cacheDir):
|
||||
self.updateStatusFromCache()
|
||||
for node in self.nodes:
|
||||
node.dirty = False
|
||||
|
||||
# Graph topology has changed
|
||||
if self.dirtyTopology:
|
||||
# update nodes topological data cache
|
||||
self.updateNodesTopologicalData()
|
||||
self.dirtyTopology = False
|
||||
|
||||
self.updated.emit()
|
||||
|
||||
def markNodesDirty(self, fromNode):
|
||||
|
|
Loading…
Add table
Reference in a new issue