mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 15:57:52 -06:00
Code style
This commit is contained in:
parent
a01a541c5d
commit
d8d328c491
1 changed files with 6 additions and 6 deletions
|
@ -131,9 +131,9 @@ class ExtruderManager(QObject):
|
||||||
|
|
||||||
# Make sure the next stack is a stack that contains only the machine definition
|
# Make sure the next stack is a stack that contains only the machine definition
|
||||||
if not extruder_train.getNextStack():
|
if not extruder_train.getNextStack():
|
||||||
shallowStack = UM.Settings.ContainerStack(machine_id + "_shallow")
|
shallow_stack = UM.Settings.ContainerStack(machine_id + "_shallow")
|
||||||
shallowStack.addContainer(machine_definition)
|
shallow_stack.addContainer(machine_definition)
|
||||||
extruder_train.setNextStack(shallowStack)
|
extruder_train.setNextStack(shallow_stack)
|
||||||
changed = True
|
changed = True
|
||||||
if changed:
|
if changed:
|
||||||
self.extrudersChanged.emit(machine_id)
|
self.extrudersChanged.emit(machine_id)
|
||||||
|
@ -248,9 +248,9 @@ class ExtruderManager(QObject):
|
||||||
|
|
||||||
# Make sure the next stack is a stack that contains only the machine definition
|
# Make sure the next stack is a stack that contains only the machine definition
|
||||||
if not container_stack.getNextStack():
|
if not container_stack.getNextStack():
|
||||||
shallowStack = UM.Settings.ContainerStack(machine_id + "_shallow")
|
shallow_stack = UM.Settings.ContainerStack(machine_id + "_shallow")
|
||||||
shallowStack.addContainer(machine_definition)
|
shallow_stack.addContainer(machine_definition)
|
||||||
container_stack.setNextStack(shallowStack)
|
container_stack.setNextStack(shallow_stack)
|
||||||
|
|
||||||
container_registry.addContainer(container_stack)
|
container_registry.addContainer(container_stack)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue