mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 12:21:59 +02:00
[ui] Expose ScriptEditor
Python component to the QML side
This commit is contained in:
parent
ff63860424
commit
73a2a241e7
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ from meshroom.ui import components
|
|||
from meshroom.ui.components.clipboard import ClipboardHelper
|
||||
from meshroom.ui.components.filepath import FilepathHelper
|
||||
from meshroom.ui.components.scene3D import Scene3DHelper, Transformations3DHelper
|
||||
from meshroom.ui.components.scriptEditor import ScriptEditorManager
|
||||
from meshroom.ui.components.thumbnail import ThumbnailCache
|
||||
from meshroom.ui.palette import PaletteManager
|
||||
from meshroom.ui.reconstruction import Reconstruction
|
||||
|
@ -160,6 +161,7 @@ class MeshroomApp(QApplication):
|
|||
|
||||
# additional context properties
|
||||
self.engine.rootContext().setContextProperty("_PaletteManager", PaletteManager(self.engine, parent=self))
|
||||
self.engine.rootContext().setContextProperty("ScriptEditorManager", ScriptEditorManager(parent=self))
|
||||
self.engine.rootContext().setContextProperty("MeshroomApp", self)
|
||||
|
||||
# request any potential computation to stop on exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue