mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Merge remote-tracking branch 'origin/master' into CURA-7437_no_internet_cloud_bugs
This commit is contained in:
commit
32f57b8770
139 changed files with 2614 additions and 277 deletions
|
@ -125,9 +125,6 @@ class ClusterPrintJobStatus(BaseModel):
|
|||
model.updateOwner(self.owner)
|
||||
model.updateState(self.status)
|
||||
model.setCompatibleMachineFamilies(self.compatible_machine_families)
|
||||
model.updateTimeTotal(self.time_total)
|
||||
model.updateTimeElapsed(self.time_elapsed)
|
||||
model.updateOwner(self.owner)
|
||||
|
||||
status_set_by_impediment = False
|
||||
for impediment in self.impediments_to_printing:
|
||||
|
|
|
@ -54,4 +54,4 @@ class ClusterPrinterConfigurationMaterial(BaseModel):
|
|||
"name": "Empty" if self.material == "empty" else "Unknown"
|
||||
}
|
||||
|
||||
return MaterialOutputModel(guid = self.guid, type = material_metadata["material"], brand = material_metadata["brand"], color = material_metadata["color_code"], name = material_metadata["name"])
|
||||
return MaterialOutputModel(guid = self.guid, type = material_metadata["material"], brand = material_metadata["brand"], color = material_metadata.get("color_code", "#ffc924"), name = material_metadata["name"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue