mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:58:59 +08:00
Small refactor (init set plain instead of with empty list). [CURA-6120]
This commit is contained in:
parent
a24dc00bc5
commit
0e329946f8
@ -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…
x
Reference in New Issue
Block a user