mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Also add the right metadata to the AMF plugin.
This ensures that the filetype shows up in the supported types of the open window
This commit is contained in:
parent
0bd516da4c
commit
0a136b58f0
1 changed files with 12 additions and 1 deletions
|
@ -3,8 +3,19 @@
|
|||
|
||||
from . import AMFReader
|
||||
|
||||
from UM.i18n import i18nCatalog
|
||||
i18n_catalog = i18nCatalog("uranium")
|
||||
|
||||
|
||||
def getMetaData():
|
||||
return {}
|
||||
return {
|
||||
"mesh_reader": [
|
||||
{
|
||||
"extension": "amf",
|
||||
"description": i18n_catalog.i18nc("@item:inlistbox", "AMF File")
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return {"mesh_reader": AMFReader.AMFReader()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue