mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -06:00
CURA-4525 fix crashing cura due to empty build plate
This commit is contained in:
parent
5c0e2d39a3
commit
1796a182fa
1 changed files with 4 additions and 1 deletions
|
@ -286,7 +286,10 @@ class NetworkClusterPrinterOutputDevice(NetworkPrinterOutputDevice.NetworkPrinte
|
|||
gcode_list = getattr(Application.getInstance().getController().getScene(), "gcode_dict")[output_build_plate_number]
|
||||
if not gcode_list: # Empty build plate
|
||||
Logger.log("d", "Skipping empty job (build plate number %d).", output_build_plate_number)
|
||||
if self._job_list:
|
||||
return self.sendPrintJob()
|
||||
else:
|
||||
return
|
||||
|
||||
self._send_gcode_start = time.time()
|
||||
Logger.log("d", "Sending print job [%s] to host, build plate [%s]..." % (file_name, output_build_plate_number))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue