mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 16:05:59 +08:00
Stop slicing when a new slice is needed
CURA-4206
This commit is contained in:
parent
d662770b22
commit
c37782d544
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user