mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user