diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py index 4e530c6ce1..77fda73b43 100644 --- a/plugins/CuraEngineBackend/CuraEngineBackend.py +++ b/plugins/CuraEngineBackend/CuraEngineBackend.py @@ -78,6 +78,9 @@ class CuraEngineBackend(Backend): self.backendConnected.connect(self._onBackendConnected) + ## Get the command that is used to call the engine. + # This is usefull for debugging and used to actually start the engine + # \return list of commands and args / parameters. def getEngineCommand(self): return [Preferences.getInstance().getValue("backend/location"), "connect", "127.0.0.1:{0}".format(self._port), "-j", Resources.getPath(Resources.MachineDefinitions, "fdmprinter.json"), "-vv"] @@ -310,10 +313,10 @@ class CuraEngineBackend(Backend): self._restart = False def _onToolOperationStarted(self, tool): - self._enabled = False + self._enabled = False # Do not reslice when a tool is doing it's 'thing' def _onToolOperationStopped(self, tool): - self._enabled = True + self._enabled = True # Tool stop, start listening for changes again. self._onChanged() def _onActiveViewChanged(self): diff --git a/plugins/CuraEngineBackend/LayerDataDecorator.py b/plugins/CuraEngineBackend/LayerDataDecorator.py index 81ce241be5..c04479972a 100644 --- a/plugins/CuraEngineBackend/LayerDataDecorator.py +++ b/plugins/CuraEngineBackend/LayerDataDecorator.py @@ -1,5 +1,6 @@ from UM.Scene.SceneNodeDecorator import SceneNodeDecorator +## Simple decorator to indicate a scene node holds layer data. class LayerDataDecorator(SceneNodeDecorator): def __init__(self): super().__init__() diff --git a/plugins/CuraEngineBackend/ProcessGCodeJob.py b/plugins/CuraEngineBackend/ProcessGCodeJob.py index 59ab380503..697d20b053 100644 --- a/plugins/CuraEngineBackend/ProcessGCodeJob.py +++ b/plugins/CuraEngineBackend/ProcessGCodeJob.py @@ -4,7 +4,6 @@ from UM.Job import Job from UM.Application import Application - class ProcessGCodeLayerJob(Job): def __init__(self, message): super().__init__()