Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-06-28 14:59:19 +0300
committerbubnikv <bubnikv@gmail.com>2018-06-28 14:59:19 +0300
commitaae6cfc696e065066aa185e3d12ca21d075e8e40 (patch)
tree57c1fdb4847b8dbd9ad46ac0453b29d73bc8c3b1
parentacd712cdbc12797192e2b313097c44b7ba174b2a (diff)
parent19f5863d75b286e7459f2ce163ec5e5befe1ac78 (diff)
Merge remote-tracking branch 'remotes/origin/lm_ultimate_wipe_tower_rotation_fix'
-rw-r--r--xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp
index fbde83754..5aa6470a2 100644
--- a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp
+++ b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp
@@ -142,10 +142,10 @@ public:
}
m_gcode += "G1";
- if (std::abs(dx) > EPSILON)
+ if (std::abs(rot.x - rotated_current_pos.x) > EPSILON)
m_gcode += set_format_X(rot.x);
- if (std::abs(dy) > EPSILON)
+ if (std::abs(rot.y - rotated_current_pos.y) > EPSILON)
m_gcode += set_format_Y(rot.y);
if (e != 0.f)