diff options
author | Raphael Sobik <raphael@sobik.org> | 2021-12-20 13:03:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 13:03:36 +0300 |
commit | 293715a6de159d5c77cad99cc08c7ab0c6669192 (patch) | |
tree | 9dfe92fd30a6cfc1226c9a8332c73119c4edc07e /src | |
parent | c224c997dbdd6c2051faafd6895e16e5ffc52470 (diff) |
Fixes setting tool on reprapfirmware (#7536)
The if branch already contains the correct code for RepRapFirmware, but the condition misses the check for the RapRapFirmware flavour.
Diffstat (limited to 'src')
-rw-r--r-- | src/libslic3r/GCodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/GCodeWriter.cpp b/src/libslic3r/GCodeWriter.cpp index 35dcdaa36..354c909e1 100644 --- a/src/libslic3r/GCodeWriter.cpp +++ b/src/libslic3r/GCodeWriter.cpp @@ -101,7 +101,7 @@ std::string GCodeWriter::set_temperature(unsigned int temperature, bool wait, in } gcode << temperature; bool multiple_tools = this->multiple_extruders && ! m_single_extruder_multi_material; - if (tool != -1 && (multiple_tools || FLAVOR_IS(gcfMakerWare) || FLAVOR_IS(gcfSailfish)) ) { + if (tool != -1 && (multiple_tools || FLAVOR_IS(gcfMakerWare) || FLAVOR_IS(gcfSailfish) || FLAVOR_IS(gcfRepRapFirmware)) ) { if (FLAVOR_IS(gcfRepRapFirmware)) { gcode << " P" << tool; } else { |