mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-15 13:11:47 +08:00
Fix crash when arranging special meshtypes
CURA-6702
This commit is contained in:
parent
789eddbdee
commit
242c3a7470
@ -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…
x
Reference in New Issue
Block a user