mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +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."),
|
"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() }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user