mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
CURA-4525 fix manual slice slicing more than one build plate at a time
This commit is contained in:
parent
4751de00ae
commit
80aaad83e1
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,8 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
self._slicing = True
|
self._slicing = True
|
||||||
self.slicingStarted.emit()
|
self.slicingStarted.emit()
|
||||||
|
|
||||||
|
self.determineAutoSlicing() # Switch timer on or off if appropriate
|
||||||
|
|
||||||
slice_message = self._socket.createMessage("cura.proto.Slice")
|
slice_message = self._socket.createMessage("cura.proto.Slice")
|
||||||
self._start_slice_job = StartSliceJob.StartSliceJob(slice_message)
|
self._start_slice_job = StartSliceJob.StartSliceJob(slice_message)
|
||||||
self._start_slice_job_build_plate = build_plate_to_be_sliced
|
self._start_slice_job_build_plate = build_plate_to_be_sliced
|
||||||
|
@ -584,6 +586,7 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
# Somehow this results in an Arcus Error
|
# Somehow this results in an Arcus Error
|
||||||
# self.slice()
|
# self.slice()
|
||||||
# Testing call slice again, allow backend to restart by using the timer
|
# Testing call slice again, allow backend to restart by using the timer
|
||||||
|
self.enableTimer() # manually enable timer to be able to invoke slice, also when in manual slice mode
|
||||||
self._invokeSlice()
|
self._invokeSlice()
|
||||||
|
|
||||||
## Called when a g-code message is received from the engine.
|
## Called when a g-code message is received from the engine.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue