mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] Graph: Connect all chunks when setting a graph for the first time
This was initially done after a call to `graph.update()`, but as the calls to the entire update have been reduced to avoid processing stuff we do not need to process, the chunks are never connected when opening a project, meaning the progress bar remains invisible until an explicit call to `graph.update()` is done.
This commit is contained in:
parent
c9ff5f92db
commit
48e4c68e61
1 changed files with 4 additions and 0 deletions
|
@ -377,6 +377,10 @@ class UIGraph(QObject):
|
|||
|
||||
self._graph.updated.connect(self.onGraphUpdated)
|
||||
self._taskManager.update(self._graph)
|
||||
|
||||
# update and connect chunks when the graph is set for the first time
|
||||
self.updateChunks()
|
||||
|
||||
# perform auto-layout if graph does not provide nodes positions
|
||||
if Graph.IO.Features.NodesPositions not in self._graph.fileFeatures:
|
||||
self._layout.reset()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue