Don't print the model if it is outside of the buildplate

CURA-4734
This commit is contained in:
Aleksei S 2017-12-22 14:48:45 +01:00
parent 05acb2e00f
commit d0a3575c0c

View file

@ -143,10 +143,11 @@ 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) or not is_non_printing_mesh:
if not getattr(node, "_outside_buildarea", False):
temp_list.append(node)
if not is_non_printing_mesh:
has_printing_mesh = True
Job.yieldThread()
#If the list doesn't have any model with suitable settings then clean the list