disable step debug. add mesh script persistance, control, error dialog

This commit is contained in:
Stewart Allen 2025-10-26 18:15:13 -04:00
commit b52ab788e5
6 changed files with 73 additions and 20 deletions

View file

@ -815,7 +815,7 @@ let add = {
},
cube() {
const [ x,y,z ] = [ ...arguments ];
const [ x,y,z ] = [ ...arguments ].map(v => parseFloat(v) || undefined);
const box = new THREE.BoxGeometry(1,1,1).toNonIndexed();
const vert = box.attributes.position.array;
const nmdl = new meshModel({ file: "box", mesh: vert });
@ -1445,6 +1445,7 @@ const prefs = {
dark: false,
floor: false,
grid: true,
script: false,
select: [],
snap: 1,
snapon: false,