bump rev 3.9.D3

This commit is contained in:
Stewart Allen 2023-02-07 20:17:19 -05:00
commit a0d4641a62
5 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "grid-apps", "name": "grid-apps",
"version": "3.9.2D", "version": "3.9.3D",
"description": "grid.space 3d slice & modeling tools", "description": "grid.space 3d slice & modeling tools",
"author": "Stewart Allen <sa@grid.space>", "author": "Stewart Allen <sa@grid.space>",
"license": "MIT", "license": "MIT",

View file

@ -5,6 +5,8 @@ Full docs @ https://docs.grid.space/projects/kiri-moto
# Release 3.9 # Release 3.9
* more graceful handling of security contexts blocking SharedArrayBuffer
* CAM add open poly-line offsetting with trace op
* CAM clearly delineate ops reachable or not on timeline * CAM clearly delineate ops reachable or not on timeline
- remove clear top (always on) - remove clear top (always on)
- add z top (like z bottom) - add z top (like z bottom)

View file

@ -13,6 +13,7 @@ const { driver } = kiri;
const { CAM } = driver; const { CAM } = driver;
const DEG2RAD = Math.PI / 180; const DEG2RAD = Math.PI / 180;
const RAD2DEG = 180 / Math.PI; const RAD2DEG = 180 / Math.PI;
const hasSharedArrays = self.SharedArrayBuffer ? true : false;
let isAnimate, let isAnimate,
isArrange, isArrange,
@ -507,6 +508,9 @@ CAM.init = function(kiri, api) {
indexing = false; indexing = false;
} }
let el = $(id); let el = $(id);
if (!hasSharedArrays && (type === 'contour' || type === 'lathe')) {
rec.disabled = true;
}
if (rec.disabled) { if (rec.disabled) {
el.classList.add("disabled"); el.classList.add("disabled");
} }

View file

@ -15,7 +15,7 @@ gapp.main("main.kiri", [], (root) => {
const modfns = root.kirimod = ( root.kirimod || [] ); const modfns = root.kirimod = ( root.kirimod || [] );
const kiri = root.kiri = { const kiri = root.kiri = {
beta: 3902, beta: 3903,
driver: {}, // driver modules driver: {}, // driver modules
load(fn) { load(fn) {
modfns.push(fn); modfns.push(fn);

View file

@ -5,7 +5,7 @@
let terms = { let terms = {
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved", COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
LICENSE: "See the license.md file included with the source distribution", LICENSE: "See the license.md file included with the source distribution",
VERSION: (is_self ? self : this).debug_version || "3.9.D2" VERSION: (is_self ? self : this).debug_version || "3.9.D3"
}; };
if (typeof(module) === 'object') { if (typeof(module) === 'object') {