mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[ui] update core graph and clear undoStack after loading a mg file
This commit is contained in:
parent
d34d6f27ec
commit
0a69e9f344
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ class Reconstruction(QObject):
|
|||
@Slot(str)
|
||||
def load(self, filepath):
|
||||
self._graph.load(filepath)
|
||||
self._graph.update()
|
||||
self._undoStack.clear()
|
||||
|
||||
undoStack = Property(QObject, lambda self: self._undoStack, constant=True)
|
||||
graph = Property(graph.Graph, lambda self: self._graph, constant=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue