mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:29:02 +08:00
Backend state is now set to processing when cura frontend is done sending
This is instead of waiting for the backend to send it's first progress message. This gives the feel of a more snappy response.
This commit is contained in:
parent
3b8e84b689
commit
221da85783
@ -242,9 +242,12 @@ class CuraEngineBackend(Backend):
|
||||
else:
|
||||
self.backendStateChange.emit(BackendState.NotStarted)
|
||||
return
|
||||
|
||||
# Preparation completed, send it to the backend.
|
||||
self._socket.sendMessage(job.getSliceMessage())
|
||||
|
||||
# Notify the user that it's now up to the backend to do it's job
|
||||
self.backendStateChange.emit(BackendState.Processing)
|
||||
|
||||
Logger.log("d", "Sending slice message took %s seconds", time() - self._slice_start_time )
|
||||
|
||||
## Listener for when the scene has changed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user