mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
CURA-5130 move the part that determines if it should slice
This commit is contained in:
parent
3c7b28a144
commit
283cbed1ad
1 changed files with 4 additions and 3 deletions
|
@ -527,9 +527,6 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
|
|
||||||
## Convenient function: mark everything to slice, emit state and clear layer data
|
## Convenient function: mark everything to slice, emit state and clear layer data
|
||||||
def needsSlicing(self):
|
def needsSlicing(self):
|
||||||
self.determineAutoSlicing()
|
|
||||||
if self._is_disabled:
|
|
||||||
return
|
|
||||||
self.stopSlicing()
|
self.stopSlicing()
|
||||||
self.markSliceAll()
|
self.markSliceAll()
|
||||||
self.processingProgress.emit(0.0)
|
self.processingProgress.emit(0.0)
|
||||||
|
@ -551,6 +548,10 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
self._change_timer.stop()
|
self._change_timer.stop()
|
||||||
|
|
||||||
def _onStackErrorCheckFinished(self):
|
def _onStackErrorCheckFinished(self):
|
||||||
|
self.determineAutoSlicing()
|
||||||
|
if self._is_disabled:
|
||||||
|
return
|
||||||
|
|
||||||
if not self._slicing and self._build_plates_to_be_sliced:
|
if not self._slicing and self._build_plates_to_be_sliced:
|
||||||
self.needsSlicing()
|
self.needsSlicing()
|
||||||
self._onChanged()
|
self._onChanged()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue