Raft layers cause SeamPlacer crash - fix

This commit is contained in:
PavelMikus 2022-02-16 14:27:33 +01:00
parent 132f4bb590
commit 356ed93ad7
3 changed files with 7 additions and 8 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->object(), loop, m_layer->slice_z, m_layer_index, m_config.external_perimeters_first);
m_seam_placer.place_seam(m_layer, loop, m_config.external_perimeters_first);
// 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