mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-20 19:42:21 -07:00
FIX: set initial one to initial no support extruder
Jira: none while there is no non support filament set first print filament to initial_no_support_extruder Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: If2fee560772c9a7cfa1855efc85116fb7df04760 (cherry picked from commit 361d7489929dfc1a3b266951f0302f25cf48edcc)
This commit is contained in:
parent
a2c6ea7d15
commit
d9eac89a9f
1 changed files with 5 additions and 0 deletions
|
|
@ -2234,6 +2234,11 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||
final_extruder_id = tool_ordering.last_extruder();
|
||||
assert(final_extruder_id != (unsigned int)-1);
|
||||
}
|
||||
|
||||
//could not find non support filmanet, use fisrt print filament
|
||||
if (initial_non_support_extruder_id == (unsigned int) -1)
|
||||
initial_non_support_extruder_id = initial_extruder_id;
|
||||
|
||||
print.throw_if_canceled();
|
||||
|
||||
m_cooling_buffer = make_unique<CoolingBuffer>(*this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue