mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06: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() }
|