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:
Jaime van Kessel 2016-08-24 16:59:12 +02:00
parent 3b8e84b689
commit 221da85783

View file

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