Make sure the "avoid crossing perimeters" class is resetted
at the start of G-code export.
This commit is contained in:
parent
972b7d2d6b
commit
9cbfe8f5ef
2 changed files with 2 additions and 0 deletions
src/libslic3r
|
@ -1012,6 +1012,7 @@ void GCode::_do_export(Print &print, FILE *file)
|
|||
_write(file, this->preamble());
|
||||
|
||||
// Initialize a motion planner for object-to-object travel moves.
|
||||
m_avoid_crossing_perimeters.reset();
|
||||
if (print.config().avoid_crossing_perimeters.value) {
|
||||
m_avoid_crossing_perimeters.init_external_mp(print);
|
||||
print.throw_if_canceled();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue