disable step debug. add mesh script persistance, control, error dialog
This commit is contained in:
parent
7688623d53
commit
b52ab788e5
6 changed files with 73 additions and 20 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue