ENH: save filament sequences in gcode result

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I79c2eb4002c72568d487df417c914ab0b8a14a67
(cherry picked from commit a289370b19e78693698db388d4057e25ba285d6b)
This commit is contained in:
xun.zhang 2024-10-25 11:13:31 +08:00 committed by Noisyfox
parent 53745a5767
commit d7af75359f
4 changed files with 51 additions and 3 deletions

View file

@ -2280,7 +2280,7 @@ std::string Print::export_gcode(const std::string& path_template, GCodeProcessor
const Vec3d origin = this->get_plate_origin();
gcode.set_gcode_offset(origin(0), origin(1));
gcode.do_export(this, path.c_str(), result, thumbnail_cb);
gcode.export_layer_filaments(result);
//BBS
result->conflict_result = m_conflict_result;
return path.c_str();