mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-21 05:09:37 +08:00
Simplify ifstatement for MultiplyObjects
CURA-7851
This commit is contained in:
parent
96d381a895
commit
fa4f567cb1
@ -72,13 +72,13 @@ class MultiplyObjectsJob(Job):
|
||||
new_node.setParent(current_node.getParent())
|
||||
|
||||
found_solution_for_all = True
|
||||
group_operation = GroupedOperation()
|
||||
if nodes:
|
||||
group_operation, not_fit_count = createGroupOperationForArrange(nodes,
|
||||
Application.getInstance().getBuildVolume(),
|
||||
fixed_nodes,
|
||||
factor=10000, add_new_nodes_in_scene=True)
|
||||
else:
|
||||
group_operation = GroupedOperation()
|
||||
factor = 10000,
|
||||
add_new_nodes_in_scene = True)
|
||||
|
||||
if nodes_to_add_without_arrange:
|
||||
for nested_node in nodes_to_add_without_arrange:
|
||||
|
Loading…
x
Reference in New Issue
Block a user