Update all plugin metadata to specify API version

This commit is contained in:
Arjen Hiemstra 2015-07-31 17:07:33 +02:00
parent b96b069c21
commit a7780d9e42
3 changed files with 4 additions and 5 deletions

View file

@ -9,11 +9,11 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"type": "backend",
"plugin": { "plugin": {
"name": "CuraEngine Backend", "name": "CuraEngine Backend",
"author": "Ultimaker", "author": "Ultimaker",
"description": catalog.i18nc("CuraEngine backend plugin description", "Provides the link to the CuraEngine slicing backend") "description": catalog.i18nc("CuraEngine backend plugin description", "Provides the link to the CuraEngine slicing backend"),
"api": 2
} }
} }

View file

@ -8,7 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"type": "mesh_writer",
"plugin": { "plugin": {
"name": "GCode Writer", "name": "GCode Writer",
"author": "Ultimaker", "author": "Ultimaker",

View file

@ -9,12 +9,12 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"type": "view",
"plugin": { "plugin": {
"name": "Layer View", "name": "Layer View",
"author": "Ultimaker", "author": "Ultimaker",
"version": "1.0", "version": "1.0",
"description": catalog.i18nc("Layer View plugin description", "Provides the Layer view.") "description": catalog.i18nc("Layer View plugin description", "Provides the Layer view."),
"api": 2
}, },
"view": { "view": {
"name": catalog.i18nc("Layers View mode", "Layers"), "name": catalog.i18nc("Layers View mode", "Layers"),