mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 23:29:38 -05:00
Make sure the "avoid crossing perimeters" class is resetted
at the start of G-code export.
This commit is contained in:
1 parent
972b7d2d6b
commit
9cbfe8f5ef
2 files changed
+2
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user