From 20151a50424bbb6c4edcab5f19b97e3d7fb838b9 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 14 Dec 2015 16:39:23 +0100 Subject: [PATCH] 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. --- plugins/GCodeReader/__init__.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/GCodeReader/__init__.py b/plugins/GCodeReader/__init__.py index c4ccddcc70..52e01626c6 100644 --- a/plugins/GCodeReader/__init__.py +++ b/plugins/GCodeReader/__init__.py @@ -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() }