From 4c402e5bb75954fd33c1ff153eee53fd31841a01 Mon Sep 17 00:00:00 2001 From: Johan K Date: Fri, 22 Jul 2016 10:22:07 +0200 Subject: [PATCH] Removed the layer data empty guard in ProcessSlicedLayers as the problem was solved in the backend. --- plugins/CuraEngineBackend/ProcessSlicedLayersJob.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py b/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py index 9eb2f3e5cd..c2f73cf5b7 100644 --- a/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py +++ b/plugins/CuraEngineBackend/ProcessSlicedLayersJob.py @@ -40,12 +40,6 @@ class ProcessSlicedLayersJob(Job): self._abort_requested = True def run(self): - # This is to prevent small models layer data to be cleared by extra invocation of engine - # Possibly adds an extra bug of layerdata not being removed if platform is cleared. - #TODO: remove need for this check - if len(self._layers) == 0: - return - start_time = time() if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView": self._progress = Message(catalog.i18nc("@info:status", "Processing Layers"), 0, False, -1)