Rename to be consistent with other plugins

T466
This commit is contained in:
nickthetait 2016-11-08 15:05:59 -07:00 committed by Youness Alaoui
parent 9120a33602
commit ec12b901d1
2 changed files with 4 additions and 4 deletions

View File

@ -24,9 +24,9 @@ import numpy
import math import math
class GCODEReader(MeshReader): class GCodeReader(MeshReader):
def __init__(self): def __init__(self):
super(GCODEReader, self).__init__() super(GCodeReader, self).__init__()
self._supported_extensions = [".gcode", ".g"] self._supported_extensions = [".gcode", ".g"]
Application.getInstance().hideMessageSignal.connect(self.onHideMessage) Application.getInstance().hideMessageSignal.connect(self.onHideMessage)
self.cancelled = False self.cancelled = False

View File

@ -2,7 +2,7 @@
# Uranium is released under the terms of the AGPLv3 or higher. # Uranium is released under the terms of the AGPLv3 or higher.
#Shoopdawoop #Shoopdawoop
from . import GCODEReader from . import GCodeReader
from UM.i18n import i18nCatalog from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium") i18n_catalog = i18nCatalog("uranium")
@ -29,4 +29,4 @@ def getMetaData():
} }
def register(app): def register(app):
return { "mesh_reader": GCODEReader.GCODEReader() } return { "mesh_reader": GCodeReader.GCodeReader() }