bump rev 3.9.D3
This commit is contained in:
parent
c0fb0860a6
commit
a0d4641a62
5 changed files with 9 additions and 3 deletions
|
|
@ -13,6 +13,7 @@ const { driver } = kiri;
|
|||
const { CAM } = driver;
|
||||
const DEG2RAD = Math.PI / 180;
|
||||
const RAD2DEG = 180 / Math.PI;
|
||||
const hasSharedArrays = self.SharedArrayBuffer ? true : false;
|
||||
|
||||
let isAnimate,
|
||||
isArrange,
|
||||
|
|
@ -507,6 +508,9 @@ CAM.init = function(kiri, api) {
|
|||
indexing = false;
|
||||
}
|
||||
let el = $(id);
|
||||
if (!hasSharedArrays && (type === 'contour' || type === 'lathe')) {
|
||||
rec.disabled = true;
|
||||
}
|
||||
if (rec.disabled) {
|
||||
el.classList.add("disabled");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue