mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-04 22:07:41 -07:00
FIX: use support_interface_material between support_material
jira: STUDIO-10544 Change-Id: Id1bfda49bc5ac2bd6ecbad473d8ee063d3c0f030 (cherry picked from commit e7eb3bd388ddecdb7f9f78bf69cd378b77b231ef)
This commit is contained in:
parent
929b02dc79
commit
01c6326ed0
1 changed files with 9 additions and 0 deletions
|
|
@ -4352,6 +4352,15 @@ LayerResult GCode::process_layer(
|
|||
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)
|
||||
support_extruder = dontcare_extruder;
|
||||
if (interface_dontcare)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue