diff --git a/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py b/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py index 1aec739f92..6b74426cf4 100644 --- a/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py +++ b/plugins/CuraEngineBackend/ProcessSlicedObjectListJob.py @@ -24,7 +24,7 @@ class ProcessSlicedObjectListJob(Job): self._message = message self._scene = Application.getInstance().getController().getScene() self._progress = None - self._abortRequested = False + self._abort_requested = False ## Aborts the processing of layers. # @@ -33,14 +33,14 @@ class ProcessSlicedObjectListJob(Job): # requested and then stop processing by itself. There is no guarantee # that the abort will stop the job any time soon or even at all. def abort(self): - self._abortRequested = True + self._abort_requested = True def run(self): if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView": self._progress = Message(catalog.i18nc("@info:status", "Processing Layers"), 0, False, -1) self._progress.show() Job.yieldThread() - if self._abortRequested: + if self._abort_requested: if self._progress: self._progress.hide() return @@ -57,7 +57,7 @@ class ProcessSlicedObjectListJob(Job): else: object_id_map[id(node)] = node Job.yieldThread() - if self._abortRequested: + if self._abort_requested: if self._progress: self._progress.hide() return @@ -113,7 +113,7 @@ class ProcessSlicedObjectListJob(Job): # TODO: Rebuild the layer data mesh once the layer has been processed. # This needs some work in LayerData so we can add the new layers instead of recreating the entire mesh. - if self._abortRequested: + if self._abort_requested: if self._progress: self._progress.hide() return @@ -123,7 +123,7 @@ class ProcessSlicedObjectListJob(Job): # We are done processing all the layers we got from the engine, now create a mesh out of the data layer_data.build() - if self._abortRequested: + if self._abort_requested: if self._progress: self._progress.hide() return