mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Removed the layer data empty guard in ProcessSlicedLayers as the problem was solved in the backend.
This commit is contained in:
parent
c6790981d6
commit
4c402e5bb7
1 changed files with 0 additions and 6 deletions
|
@ -40,12 +40,6 @@ class ProcessSlicedLayersJob(Job):
|
||||||
self._abort_requested = True
|
self._abort_requested = True
|
||||||
|
|
||||||
def run(self):
|
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()
|
start_time = time()
|
||||||
if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView":
|
if Application.getInstance().getController().getActiveView().getPluginId() == "LayerView":
|
||||||
self._progress = Message(catalog.i18nc("@info:status", "Processing Layers"), 0, False, -1)
|
self._progress = Message(catalog.i18nc("@info:status", "Processing Layers"), 0, False, -1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue