mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 13:49:39 +08: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
@ -15,13 +15,11 @@ def getMetaData():
|
||||
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
|
||||
"api": 2
|
||||
},
|
||||
"mesh_reader": [
|
||||
{
|
||||
"extension": "gcode",
|
||||
"description": catalog.i18nc("@item:inlistbox", "Gcode File")
|
||||
}
|
||||
]
|
||||
"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…
x
Reference in New Issue
Block a user