Fix slicing non-printable meshes that fall outside of build volume

Non-printable meshes don't care whether they are in the build volume or not.

Contributes to issue CURA-4734.
This commit is contained in:
Ghostkeeper 2017-12-29 18:08:58 +01:00
parent 4a3109c885
commit 719bd5a707
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -143,7 +143,7 @@ class StartSliceJob(Job):
if per_object_stack:
is_non_printing_mesh = any(per_object_stack.getProperty(key, "value") for key in NON_PRINTING_MESH_SETTINGS)
if not getattr(node, "_outside_buildarea", False):
if not getattr(node, "_outside_buildarea", False) or is_non_printing_mesh:
temp_list.append(node)
if not is_non_printing_mesh:
has_printing_mesh = True