Both of these plugins only read one file type, but it's allowed now. Contributes to issue CURA-34.
@@ -15,10 +15,12 @@ def getMetaData():
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."),
"api": 2
},
- "profile_reader": {
- "extension": "curaprofile",
- "description": catalog.i18nc("@item:inlistbox", "Cura Profile")
- }
+ "profile_reader": [
+ {
+ "extension": "curaprofile",
+ "description": catalog.i18nc("@item:inlistbox", "Cura Profile")
+ }
+ ]
}
def register(app):
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from g-code files."),
- "extension": "gcode",
- "description": catalog.i18nc("@item:inlistbox", "G-code File")
+ "extension": "gcode",
+ "description": catalog.i18nc("@item:inlistbox", "G-code File")