fix: expose initial_no_support_extruder to the filename format template (#15950)

This commit is contained in:
Ian Chua
2026-09-29 01:52:25 +08:00
committed by GitHub
parent 1846407e93
commit 0a55e6ef83
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -4198,6 +4198,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
// Const input (tool-change fallback for non-wipe-tower prints)
print.tool_ordering()));
print.m_print_statistics.initial_tool = initial_extruder_id;
print.m_print_statistics.initial_no_support_tool = initial_non_support_extruder_id;
if (!is_bbl_printers) {
file.write_format("; total filament used [g] = %.2lf\n",
print.m_print_statistics.total_weight);