fix latent layer retract detection
This commit is contained in:
parent
2f184703e7
commit
dc55da0232
2 changed files with 18 additions and 5 deletions
|
|
@ -538,7 +538,15 @@
|
|||
}
|
||||
|
||||
function retract() {
|
||||
if (preout.length) preout.last().retract = true;
|
||||
if (preout.length) {
|
||||
preout.last().retract = true;
|
||||
} else if (output.length) {
|
||||
output.last().retract = true;
|
||||
} else if (opt.pretract) {
|
||||
opt.pretract();
|
||||
} else {
|
||||
console.log('unable to retract. no preout or output');
|
||||
}
|
||||
}
|
||||
|
||||
function intersectsTop(p1, p2) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue