T466: Fixed Nothing to slice bug

This commit is contained in:
Victor Larchenko 2016-11-09 14:53:23 +06:00 committed by Youness Alaoui
parent 2b2eec5643
commit be3a945fb0
3 changed files with 33 additions and 43 deletions

View file

@ -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.
#