From ec95f224083852bffe1c9f29cb349d285f37358e Mon Sep 17 00:00:00 2001 From: SoftFever Date: Thu, 7 May 2026 20:26:25 +0800 Subject: [PATCH] add comment --- src/libslic3r/GCodeWriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/GCodeWriter.cpp b/src/libslic3r/GCodeWriter.cpp index 6ca28f2fc1..a5e1c6abf1 100644 --- a/src/libslic3r/GCodeWriter.cpp +++ b/src/libslic3r/GCodeWriter.cpp @@ -534,6 +534,7 @@ std::string GCodeWriter::toolchange(unsigned int filament_id) // if we are running a single-extruder setup, just set the extruder and return nothing std::ostringstream gcode; if (this->multiple_extruders || (this->config.filament_diameter.values.size() > 1 && !is_bbl_printers())) { + // Orca: call toolchange_prefix() to get the correct command prefix based on the configuration and flavor. gcode << this->toolchange_prefix() << filament_id; if (GCodeWriter::full_gcode_comment) gcode << " ; change extruder";