mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Change plugin type to profile_reader
This repairs the profile reading at startup. It should not be a mesh reader. Contributes to issue CURA-34.
This commit is contained in:
parent
6d225948f2
commit
20151a5042
1 changed files with 5 additions and 7 deletions
|
@ -15,13 +15,11 @@ def getMetaData():
|
|||
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
|
||||
"api": 2
|
||||
},
|
||||
"mesh_reader": [
|
||||
{
|
||||
"profile_reader": {
|
||||
"extension": "gcode",
|
||||
"description": catalog.i18nc("@item:inlistbox", "Gcode File")
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return { "mesh_reader": GCodeReader.GCodeReader() }
|
||||
return { "profile_reader": GCodeReader.GCodeReader() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue