mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Allowing profile readers to read multiple file types per plugin
Both of these plugins only read one file type, but it's allowed now. Contributes to issue CURA-34.
This commit is contained in:
parent
f95bfd8ae3
commit
984a8efe1e
2 changed files with 12 additions and 8 deletions
|
@ -15,10 +15,12 @@ def getMetaData():
|
|||
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."),
|
||||
"api": 2
|
||||
},
|
||||
"profile_reader": {
|
||||
"profile_reader": [
|
||||
{
|
||||
"extension": "curaprofile",
|
||||
"description": catalog.i18nc("@item:inlistbox", "Cura Profile")
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
def register(app):
|
||||
|
|
|
@ -15,10 +15,12 @@ def getMetaData():
|
|||
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from g-code files."),
|
||||
"api": 2
|
||||
},
|
||||
"profile_reader": {
|
||||
"profile_reader": [
|
||||
{
|
||||
"extension": "gcode",
|
||||
"description": catalog.i18nc("@item:inlistbox", "G-code File")
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
def register(app):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue