mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Clarify if using key or human-readable name
This is refering to "glass", not "Glass". According to @lipufei, "name" should denote a human readable/capitalized name. Contributes to CL-1250
This commit is contained in:
parent
0275de7f77
commit
af565aff55
3 changed files with 8 additions and 8 deletions
|
@ -55,7 +55,7 @@ class CloudClusterPrinterStatus(BaseCloudModel):
|
|||
# \param controller - The controller of the model.
|
||||
def createOutputModel(self, controller: PrinterOutputController) -> PrinterOutputModel:
|
||||
model = PrinterOutputModel(controller, len(self.configuration), firmware_version = self.firmware_version)
|
||||
model.updateBuildplateName(self.build_plate.type)
|
||||
model.updateBuildplate(self.build_plate.type)
|
||||
self.updateOutputModel(model)
|
||||
return model
|
||||
|
||||
|
|
|
@ -627,7 +627,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
|
||||
# Do not store the build plate information that comes from connect if the current printer has not build plate information
|
||||
if "build_plate" in data and machine_definition.getMetaDataEntry("has_variant_buildplates", False):
|
||||
printer.updateBuildplateName(data["build_plate"]["type"])
|
||||
printer.updateBuildplate(data["build_plate"]["type"])
|
||||
if not data["enabled"]:
|
||||
printer.updateState("disabled")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue