CURA-4525 cleanups and change comment and added new-lines

This commit is contained in:
Jack Ha 2018-01-03 15:41:08 +01:00
parent 3991dee14c
commit 62487e8ea2
7 changed files with 3 additions and 19 deletions

View file

@ -357,19 +357,6 @@ class CuraEngineBackend(QObject, Backend):
else:
self.backendStateChange.emit(BackendState.NotStarted)
# Doesn't occur anymore, is handled in slice()
# if job.getResult() == StartSliceJob.StartJobResult.NothingToSlice:
# if Application.getInstance().platformActivity:
# self._error_message = Message(catalog.i18nc("@info:status", "Nothing to slice because none of the models fit the build volume. Please scale or rotate models to fit."),
# title = catalog.i18nc("@info:title", "Unable to slice"))
# self._error_message.show()
# #self.backendStateChange.emit(BackendState.Error)
# else:
# #self.backendStateChange.emit(BackendState.NotStarted)
# pass
# self._invokeSlice()
# return
# Preparation completed, send it to the backend.
self._socket.sendMessage(job.getSliceMessage())