mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:45:55 +08:00
Update plugin metadata to the new format
This commit is contained in:
parent
020015cccc
commit
638b8be8a0
10
__init__.py
10
__init__.py
@ -1,7 +1,15 @@
|
||||
from . import LayerView
|
||||
|
||||
def getMetaData():
|
||||
return { "name": "LayerView", "type": "View" }
|
||||
return {
|
||||
'type': 'view',
|
||||
'plugin': {
|
||||
"name": "Layer View"
|
||||
},
|
||||
'view': {
|
||||
'name': 'Layers'
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return LayerView.LayerView()
|
||||
|
Loading…
x
Reference in New Issue
Block a user