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:
Ghostkeeper 2015-12-14 16:39:23 +01:00
parent 6d225948f2
commit 20151a5042

View File

@ -15,13 +15,11 @@ def getMetaData():
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."), "description": catalog.i18nc("@info:whatsthis", "Provides support for reading GCode files."),
"api": 2 "api": 2
}, },
"mesh_reader": [ "profile_reader": {
{
"extension": "gcode", "extension": "gcode",
"description": catalog.i18nc("@item:inlistbox", "Gcode File") "description": catalog.i18nc("@item:inlistbox", "Gcode File")
} }
]
} }
def register(app): def register(app):
return { "mesh_reader": GCodeReader.GCodeReader() } return { "profile_reader": GCodeReader.GCodeReader() }