Removed the layer data empty guard in ProcessSlicedLayers as the problem was solved in the backend.

This commit is contained in:
Johan K 2016-07-22 10:22:07 +02:00
parent c6790981d6
commit 4c402e5bb7

View file

@ -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)