fix drill marking with latent thru setting
This commit is contained in:
parent
c2eca07ed2
commit
94c932e8f9
2 changed files with 2 additions and 2 deletions
|
|
@ -598,7 +598,7 @@ export function createPopOps() {
|
|||
sep: UC.newBlank({ class: "pop-sep" }),
|
||||
thru: UC.newInput(LANG.cd_dtru_s, { title: LANG.cd_dtru_l, convert: toFloat, units, show: () => !env.poppedRec.mark }),
|
||||
precision: UC.newInput(LANG.cd_prcn_s, { title: LANG.cd_prcn_l, convert: toFloat, units, show: () => !env.poppedRec.mark }),
|
||||
sep: UC.newBlank({ class: "pop-sep", }),
|
||||
sep: UC.newBlank({ class: "pop-sep", show: () => !env.poppedRec.mark }),
|
||||
actions: UC.newRow([
|
||||
UC.newButton(LANG.select, () => selectHoles(true), { title: LANG.cd_seli_l }),
|
||||
UC.newButton(LANG.cd_sela_s, () => selectHoles(false), { title: LANG.cd_sela_l })
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class OpDrill extends CamOp {
|
|||
if (zBottom) drill.zBottom = Math.max(zBottom, drill.zBottom);
|
||||
|
||||
// for thru holes, follow z thru when set
|
||||
if ((op.thru > 0)) {
|
||||
if (op.thru > 0 && !op.mark) {
|
||||
drill.zBottom -= op.thru;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue