mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Update plugin metadata to the new format
This commit is contained in:
parent
020015cccc
commit
638b8be8a0
1 changed files with 9 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue