Fixed rear seam option, which was not always respected,

the problem was originally introduced in b8c898b, recent
seam changes probably made it more visible
This commit is contained in:
Lukas Matena 2021-12-08 16:13:38 +01:00
parent 5b56adba59
commit e9b9c48cae

View file

@ -498,7 +498,7 @@ Point SeamPlacer::calculate_seam(const Layer& layer, const SeamPosition seam_pos
else if (seam_position == spRear) { else if (seam_position == spRear) {
// Object is centered around (0,0) in its current coordinate system. // Object is centered around (0,0) in its current coordinate system.
last_pos.x() = 0; 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; last_pos_weight = 5.f;
} if (seam_position == spNearest) { } if (seam_position == spNearest) {
// last_pos already contains current nozzle position // last_pos already contains current nozzle position