mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Make slicing work for the --external-backend option again.
This commit is contained in:
parent
766b87a6da
commit
e3211d4128
1 changed files with 2 additions and 1 deletions
|
@ -570,7 +570,8 @@ class CuraEngineBackend(QObject, Backend):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Preparation completed, send it to the backend.
|
# Preparation completed, send it to the backend.
|
||||||
if not self._socket.sendMessage(job.getSliceMessage()):
|
immediate_success = self._socket.sendMessage(job.getSliceMessage())
|
||||||
|
if (not CuraApplication.getInstance().getUseExternalBackend()) and (not immediate_success):
|
||||||
if self._last_socket_error is not None and self._last_socket_error.getErrorCode() == Arcus.ErrorCode.MessageTooBigError:
|
if self._last_socket_error is not None and self._last_socket_error.getErrorCode() == Arcus.ErrorCode.MessageTooBigError:
|
||||||
error_txt = catalog.i18nc("@info:status", "Unable to send the model data to the engine. Please try to use a less detailed model, or reduce the number of instances.")
|
error_txt = catalog.i18nc("@info:status", "Unable to send the model data to the engine. Please try to use a less detailed model, or reduce the number of instances.")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue