mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Small refactor (init set plain instead of with empty list). [CURA-6120]
This commit is contained in:
parent
a24dc00bc5
commit
0e329946f8
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ArrangeObjectsJob(Job):
|
|||
arranger = Arrange.create(x = machine_width, y = machine_depth, fixed_nodes = self._fixed_nodes, min_offset = self._min_offset)
|
||||
|
||||
# Build set to exclude children (those get arranged together with the parents).
|
||||
included_as_child = set([])
|
||||
included_as_child = set()
|
||||
for node in self._nodes:
|
||||
included_as_child.update(node.getAllChildren())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue