mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix crash when arranging special meshtypes
CURA-6702
This commit is contained in:
parent
789eddbdee
commit
242c3a7470
1 changed files with 5 additions and 1 deletions
|
@ -71,7 +71,11 @@ class MultiplyObjectsJob(Job):
|
||||||
new_node = copy.deepcopy(node)
|
new_node = copy.deepcopy(node)
|
||||||
solution_found = False
|
solution_found = False
|
||||||
if not node_too_big:
|
if not node_too_big:
|
||||||
solution_found = arranger.findNodePlacement(new_node, offset_shape_arr, hull_shape_arr)
|
if offset_shape_arr is not None and hull_shape_arr is not None:
|
||||||
|
solution_found = arranger.findNodePlacement(new_node, offset_shape_arr, hull_shape_arr)
|
||||||
|
else:
|
||||||
|
# The node has no shape, so no need to arrange it. The solution is simple: Do nothing.
|
||||||
|
solution_found = True
|
||||||
|
|
||||||
if node_too_big or not solution_found:
|
if node_too_big or not solution_found:
|
||||||
found_solution_for_all = False
|
found_solution_for_all = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue