mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 22:03:11 +08: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
@ -15,10 +15,12 @@ def getMetaData():
|
|||||||
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."),
|
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."),
|
||||||
"api": 2
|
"api": 2
|
||||||
},
|
},
|
||||||
"profile_reader": {
|
"profile_reader": [
|
||||||
"extension": "curaprofile",
|
{
|
||||||
"description": catalog.i18nc("@item:inlistbox", "Cura Profile")
|
"extension": "curaprofile",
|
||||||
}
|
"description": catalog.i18nc("@item:inlistbox", "Cura Profile")
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
|
@ -15,10 +15,12 @@ def getMetaData():
|
|||||||
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from g-code files."),
|
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from g-code files."),
|
||||||
"api": 2
|
"api": 2
|
||||||
},
|
},
|
||||||
"profile_reader": {
|
"profile_reader": [
|
||||||
"extension": "gcode",
|
{
|
||||||
"description": catalog.i18nc("@item:inlistbox", "G-code File")
|
"extension": "gcode",
|
||||||
}
|
"description": catalog.i18nc("@item:inlistbox", "G-code File")
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
def register(app):
|
def register(app):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user