Fix an incorrect extra travel when using the wipe tower with no ramming and with extruder offset applied #10801

This commit is contained in:
Lukas Matena 2023-06-14 13:03:04 +02:00
parent 23a72cec1f
commit cc45644a25

View File

@ -312,7 +312,7 @@ namespace Slic3r {
std::string gcode_out; std::string gcode_out;
std::string line; std::string line;
Vec2f pos = tcr.start_pos; Vec2f pos = tcr.start_pos;
Vec2f transformed_pos = pos; Vec2f transformed_pos = Eigen::Rotation2Df(angle) * pos + translation;
Vec2f old_pos(-1000.1f, -1000.1f); Vec2f old_pos(-1000.1f, -1000.1f);
while (gcode_str) { while (gcode_str) {