mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
T466: Fixed Nothing to slice bug
This commit is contained in:
parent
2b2eec5643
commit
be3a945fb0
3 changed files with 33 additions and 43 deletions
|
@ -152,6 +152,8 @@ class CuraEngineBackend(Backend):
|
|||
## Perform a slice of the scene.
|
||||
def slice(self):
|
||||
Logger.log("d", "Starting slice job...")
|
||||
if self._pauseSlicing:
|
||||
return
|
||||
self._slice_start_time = time()
|
||||
if not self._enabled or not self._global_container_stack: # We shouldn't be slicing.
|
||||
# try again in a short time
|
||||
|
@ -395,7 +397,8 @@ class CuraEngineBackend(Backend):
|
|||
|
||||
## Manually triggers a reslice
|
||||
def forceSlice(self):
|
||||
self._change_timer.start()
|
||||
if not self._pauseSlicing:
|
||||
self._change_timer.start()
|
||||
|
||||
## Called when anything has changed to the stuff that needs to be sliced.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue