alignment from best candidate

This commit is contained in:
PavelMikus 2022-03-09 11:22:22 +01:00
parent eccf1c1553
commit 2274965079
3 changed files with 271 additions and 110 deletions
src/libslic3r

View file

@ -2586,7 +2586,7 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
loop.split_at(last_pos, false);
}
else
m_seam_placer.place_seam(m_layer, loop, m_config.external_perimeters_first);
m_seam_placer.place_seam(m_layer, loop, m_config.external_perimeters_first, this->last_pos());
// clip the path to avoid the extruder to get exactly on the first point of the loop;
// if polyline was shorter than the clipping distance we'd get a null polyline, so