Stop slicing when a new slice is needed

CURA-4206
This commit is contained in:
Lipu Fei 2017-08-23 17:19:42 +02:00
parent d662770b22
commit c37782d544

View file

@ -427,6 +427,7 @@ class CuraEngineBackend(QObject, Backend):
## Convenient function: set need_slicing, emit state and clear layer data
def needsSlicing(self):
self.stopSlicing()
self._need_slicing = True
self.processingProgress.emit(0.0)
self.backendStateChange.emit(BackendState.NotStarted)