Also omit support meshes from used extruders list

Their own extruder doesn't get used necessarily, because these meshes are then printed using the support extruder.

Contributes to issue CURA-6440.
This commit is contained in:
Ghostkeeper 2019-04-04 16:35:48 +02:00
parent 8da1f8fa7d
commit 8c5f871185
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -229,7 +229,7 @@ class ExtruderManager(QObject):
mesh_list = []
for mesh in meshes:
stack = mesh.callDecoration("getStack")
if stack is not None and stack.getProperty("anti_overhang_mesh", "value"):
if stack is not None and (stack.getProperty("anti_overhang_mesh", "value") or stack.getProperty("support_mesh", "value")):
continue
mesh_list.append(mesh)