fix brim offset bug. disable manual supports when automatic enabled
This commit is contained in:
parent
5cc160cb1f
commit
ae9cd843c1
4 changed files with 37 additions and 8 deletions
|
|
@ -198,7 +198,7 @@
|
|||
// }
|
||||
API.conf.update();
|
||||
DOC.activeElement.blur();
|
||||
// API.event.emit("boolean.click");
|
||||
API.event.emit("boolean.click");
|
||||
}
|
||||
|
||||
function onButtonClick(ev) {
|
||||
|
|
@ -1691,7 +1691,7 @@
|
|||
|
||||
sliceSupportGen: UC.newRow([
|
||||
UI.ssaGen = UC.newButton(LANG.sp_detect, onButtonClick, {class: "f-col grow a-center"})
|
||||
], { modes: FDM, class: "ext-buttons f-row grow", xshow:isNotBelt }),
|
||||
], { modes: FDM, class: "ext-buttons f-row grow" }),
|
||||
fdmSep: UC.newBlank({class:"pop-sep", modes:FDM, show:isNotBelt}),
|
||||
sliceSupportManual: UC.newRow([
|
||||
(UI.ssmAdd = UC.newButton(undefined, onButtonClick, {icon:'<i class="fas fa-plus"></i>'})),
|
||||
|
|
|
|||
|
|
@ -564,7 +564,9 @@
|
|||
}
|
||||
|
||||
function intersectsTop(p1, p2) {
|
||||
return retractRequired(p1, p2);
|
||||
if (opt.danger) {
|
||||
return retractRequired(p1, p2);
|
||||
}
|
||||
let int = false;
|
||||
POLY.flatten(slice.topPolys().clone(true)).forEach(function(poly) {
|
||||
if (!int) poly.forEachSegment(function(s1, s2) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue