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:
authorLukas Matena <lukasmatena@seznam.cz>2021-12-08 18:13:38 +0300
committerLukas Matena <lukasmatena@seznam.cz>2021-12-08 18:18:54 +0300
commite9b9c48caebcd3f3a93554cf5eeb25a600cf1b06 (patch)
tree4403198c1296e6a586af30ad9393334cc77768e5
parent5b56adba59e3342bdfda1e195cde4dfda5d9ac5c (diff)
Fixed rear seam option, which was not always respected,
the problem was originally introduced in b8c898b, recent seam changes probably made it more visible
-rw-r--r--src/libslic3r/GCode/SeamPlacer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/GCode/SeamPlacer.cpp b/src/libslic3r/GCode/SeamPlacer.cpp
index 6d082a431..f74775a9a 100644
--- a/src/libslic3r/GCode/SeamPlacer.cpp
+++ b/src/libslic3r/GCode/SeamPlacer.cpp
@@ -498,7 +498,7 @@ Point SeamPlacer::calculate_seam(const Layer& layer, const SeamPosition seam_pos
else if (seam_position == spRear) {
// Object is centered around (0,0) in its current coordinate system.
last_pos.x() = 0;
- last_pos.y() += coord_t(3. * po->bounding_box().radius());
+ last_pos.y() = coord_t(3. * po->bounding_box().radius());
last_pos_weight = 5.f;
} if (seam_position == spNearest) {
// last_pos already contains current nozzle position