diff --git a/deps/+Boost/Boost.cmake b/deps/+Boost/Boost.cmake index 6ce4612e7e..cb470e92ab 100644 --- a/deps/+Boost/Boost.cmake +++ b/deps/+Boost/Boost.cmake @@ -21,3 +21,5 @@ add_cmake_project(Boost "${_context_abi_line}" "${_context_arch_line}" ) + +set(DEP_Boost_DEPENDS ZLIB) diff --git a/src/libslic3r/GCode/WipeTowerIntegration.cpp b/src/libslic3r/GCode/WipeTowerIntegration.cpp index eb06ddd165..aa0e57562e 100644 --- a/src/libslic3r/GCode/WipeTowerIntegration.cpp +++ b/src/libslic3r/GCode/WipeTowerIntegration.cpp @@ -180,7 +180,7 @@ std::string WipeTowerIntegration::post_process_wipe_tower_moves(const WipeTower: gcode_out += line + "\n"; // If this was a toolchange command, we should change current extruder offset - if (line == "[toolchange_gcode]") { + if (line == "[toolchange_gcode_from_wipe_tower_generator]") { extruder_offset = m_extruder_offsets[tcr.new_tool].cast(); // If the extruder offset changed, add an extra move so everything is continuous