mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-5358 Fix typos
This commit is contained in:
parent
ddc9da63b8
commit
8eea60bada
1 changed files with 2 additions and 2 deletions
|
|
@ -160,11 +160,11 @@ class MaterialManager(QObject):
|
||||||
key_data.append(root_material_metadata.get(key))
|
key_data.append(root_material_metadata.get(key))
|
||||||
key_data = tuple(key_data)
|
key_data = tuple(key_data)
|
||||||
|
|
||||||
# If the key_data doesn't exist, no matter if the material is read only...
|
# If the key_data doesn't exist, it doesn't matter if the material is read only...
|
||||||
if key_data not in material_group_dict:
|
if key_data not in material_group_dict:
|
||||||
material_group_dict[key_data] = dict()
|
material_group_dict[key_data] = dict()
|
||||||
else:
|
else:
|
||||||
# ...but if key_data exists, we just overrite it if the material is read only, otherwise we skip it
|
# ...but if key_data exists, we just overwrite it if the material is read only, otherwise we skip it
|
||||||
if not machine_node.is_read_only:
|
if not machine_node.is_read_only:
|
||||||
continue
|
continue
|
||||||
approximate_diameter = root_material_metadata.get("approximate_diameter")
|
approximate_diameter = root_material_metadata.get("approximate_diameter")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue