fix setTravelBoundaries() with no args
This commit is contained in:
parent
776ce35864
commit
6d0faa29a4
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ export async function prepare_one(widget, settings, print, firstPoint, update) {
|
||||||
|
|
||||||
function setTravelBoundary(polys) {
|
function setTravelBoundary(polys) {
|
||||||
lastTravelBounds = travelBounds;
|
lastTravelBounds = travelBounds;
|
||||||
travelBounds = POLY.flatten(polys);
|
travelBounds = polys ? POLY.flatten(polys) : undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue