fix deep ease-down that wraps a polygon more than once
This commit is contained in:
parent
fe0573fd02
commit
fb5093fca5
1 changed files with 1 additions and 1 deletions
|
|
@ -834,7 +834,7 @@ export async function prepare_one(widget, settings, print, firstPoint, update) {
|
|||
let pt = points[ii];
|
||||
if (zat <= pt.z) {
|
||||
// rotate points to start at end of ease
|
||||
points = [...points.slice(i), ...points.slice(0,i)];
|
||||
points = [...points.slice(ii), ...points.slice(0,ii)];
|
||||
break;
|
||||
}
|
||||
if (i > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue