mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[ui] Initialize plugins at different moments
This commit is contained in:
parent
ea5894f67e
commit
f446310c24
1 changed files with 4 additions and 1 deletions
|
@ -73,6 +73,8 @@ class MessageHandler(object):
|
|||
class MeshroomApp(QApplication):
|
||||
""" Meshroom UI Application. """
|
||||
def __init__(self, args):
|
||||
meshroom.core.initPipelines()
|
||||
|
||||
QtArgs = [args[0], '-style', 'fusion'] + args[1:] # force Fusion style by default
|
||||
|
||||
parser = argparse.ArgumentParser(prog=args[0], description='Launch Meshroom UI.', add_help=True)
|
||||
|
@ -124,7 +126,8 @@ class MeshroomApp(QApplication):
|
|||
# - clean cache directory and make sure it exists on disk
|
||||
ThumbnailCache.initialize()
|
||||
|
||||
meshroom.core.initPlugins()
|
||||
meshroom.core.initNodes()
|
||||
meshroom.core.initSubmitters()
|
||||
|
||||
# QML engine setup
|
||||
qmlDir = os.path.join(pwd, "qml")
|
||||
|
|
Loading…
Add table
Reference in a new issue