fix retractions in vase mode that could affect a few other corner cases, too
This commit is contained in:
parent
6fb292705a
commit
5c26aaa31e
1 changed files with 4 additions and 1 deletions
|
|
@ -587,7 +587,6 @@
|
||||||
// returns false if routed around or no retract
|
// returns false if routed around or no retract
|
||||||
function routeAround(p1, p2) {
|
function routeAround(p1, p2) {
|
||||||
const dbug = false;
|
const dbug = false;
|
||||||
|
|
||||||
if (dbug === slice.index) console.log(slice.index, {p1, p2, d: p1.distTo2D(p2)});
|
if (dbug === slice.index) console.log(slice.index, {p1, p2, d: p1.distTo2D(p2)});
|
||||||
|
|
||||||
let ints = [];
|
let ints = [];
|
||||||
|
|
@ -1026,6 +1025,10 @@
|
||||||
outputFills(next.fill, {fast: true});
|
outputFills(next.fill, {fast: true});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (lastTop && lastTop !== next) {
|
||||||
|
retract();
|
||||||
|
}
|
||||||
|
|
||||||
// control of layer start point
|
// control of layer start point
|
||||||
switch (process.sliceLayerStart) {
|
switch (process.sliceLayerStart) {
|
||||||
case "center":
|
case "center":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue