[ui] Add an activeProject property and expose the UI to the core

This commit is contained in:
Candice Bentéjac 2024-06-27 15:46:48 +02:00
parent 2bcf9d432c
commit 5bcbc84f2a
2 changed files with 18 additions and 14 deletions

View file

@ -6,6 +6,8 @@ from meshroom.common import Backend
meshroom.setupEnvironment(backend=Backend.PYSIDE)
signal.signal(signal.SIGINT, signal.SIG_DFL)
from meshroom.ui.app import MeshroomApp
app = MeshroomApp(sys.argv)
app.exec_()
import meshroom.ui
import meshroom.ui.app
meshroom.ui.uiInstance = meshroom.ui.app.MeshroomApp(sys.argv)
meshroom.ui.uiInstance.exec_()