mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 00:34:26 +08:00
PrintJobs are now assigned if they are not queued
It used to just do it if it was printing, but jobs can also be in other states such as paused, pre_print, etc CL-541
This commit is contained in:
parent
9084dfd6bd
commit
e841896090
@ -193,7 +193,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
||||
print_job.updateTimeTotal(print_job_data["time_total"])
|
||||
print_job.updateTimeElapsed(print_job_data["time_elapsed"])
|
||||
print_job.updateState(print_job_data["status"])
|
||||
if print_job.state == "printing":
|
||||
if print_job.state != "queued":
|
||||
# Print job should be assigned to a printer.
|
||||
printer = self._getPrinterByKey(print_job_data["printer_uuid"])
|
||||
if printer:
|
||||
|
Loading…
x
Reference in New Issue
Block a user