enable new retraction reduction path planning without danger mode
This commit is contained in:
parent
f46e7eef91
commit
c1ab50db30
1 changed files with 2 additions and 2 deletions
|
|
@ -568,9 +568,9 @@
|
||||||
if (slice.index < 0) {
|
if (slice.index < 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (opt.danger) {
|
// if (opt.danger) {
|
||||||
return retractRequired(p1, p2);
|
return retractRequired(p1, p2);
|
||||||
}
|
// }
|
||||||
let int = false;
|
let int = false;
|
||||||
POLY.flatten(slice.topPolys().clone(true)).forEach(function(poly) {
|
POLY.flatten(slice.topPolys().clone(true)).forEach(function(poly) {
|
||||||
if (!int) poly.forEachSegment(function(s1, s2) {
|
if (!int) poly.forEachSegment(function(s1, s2) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue