mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00

Swapped the loading order of Marketplace extensions so SyncOrchestractor is not fetched by PluginRegistry.getInstance().getPluginObject("Marketplace") in WorkspaceDialog. CURA-8610
18 lines
471 B
Python
18 lines
471 B
Python
# Copyright (c) 2021 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
from .CloudSync.SyncOrchestrator import SyncOrchestrator
|
|
from .Marketplace import Marketplace
|
|
|
|
def getMetaData():
|
|
"""
|
|
Extension-type plug-ins don't have any specific metadata being used by Cura.
|
|
"""
|
|
return {}
|
|
|
|
|
|
def register(app):
|
|
"""
|
|
Register the plug-in object with Uranium.
|
|
"""
|
|
return { "extension": [SyncOrchestrator(app), Marketplace()] }
|