mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
20 lines
415 B
Python
20 lines
415 B
Python
from . import LayerView
|
|
|
|
from UM.i18n import i18nCatalog
|
|
catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"type": "view",
|
|
"plugin": {
|
|
"name": "Layer View"
|
|
},
|
|
"view": {
|
|
"name": catalog.i18nc("Layers View mode", "Layers"),
|
|
"view_panel": "LayerView.qml"
|
|
}
|
|
}
|
|
|
|
|
|
def register(app):
|
|
return { "view": LayerView.LayerView() }
|