FIX: use support_interface_material between support_material
jira: STUDIO-10544 Change-Id: Id1bfda49bc5ac2bd6ecbad473d8ee063d3c0f030
This commit is contained in:
parent
926cfb14d2
commit
e7eb3bd388
|
@ -3849,6 +3849,15 @@ GCode::LayerResult GCode::process_layer(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (print.config().filament_is_support.get_at(dontcare_extruder)) {
|
||||||
|
// The last extruder printed on the previous layer extrudes support filament.
|
||||||
|
// Try to find a non-support extruder on the same layer.
|
||||||
|
for (unsigned int extruder_id : layer_tools.extruders)
|
||||||
|
if (!print.config().filament_is_support.get_at(extruder_id)) {
|
||||||
|
dontcare_extruder = extruder_id;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (support_dontcare)
|
if (support_dontcare)
|
||||||
support_extruder = dontcare_extruder;
|
support_extruder = dontcare_extruder;
|
||||||
if (interface_dontcare)
|
if (interface_dontcare)
|
||||||
|
|
Loading…
Reference in New Issue