mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07:00
Clean up more code
This fixes some typing and moves a property to protected, as it should be
This commit is contained in:
parent
c15f8aa693
commit
7310a677ce
5 changed files with 13 additions and 17 deletions
|
|
@ -24,9 +24,9 @@ class QualityChangesGroup(QualityGroup):
|
|||
ConfigurationErrorMessage.getInstance().addFaultyContainers(node.getMetaDataEntry("id"))
|
||||
return
|
||||
|
||||
if extruder_position is None: #Then we're a global quality changes profile.
|
||||
if extruder_position is None: # Then we're a global quality changes profile.
|
||||
self.node_for_global = node
|
||||
else: #This is an extruder's quality changes profile.
|
||||
else: # This is an extruder's quality changes profile.
|
||||
self.nodes_for_extruders[extruder_position] = node
|
||||
|
||||
def __str__(self) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue