extend stl loading to allow formdata

This commit is contained in:
Stewart Allen 2020-11-14 12:07:05 -05:00
commit 2c2f954f13
6 changed files with 24 additions and 12 deletions

View file

@ -162,7 +162,7 @@
}
const {x, y, z} = stock;
if (x && y && z) {
if (x && y && z && !STACKS.getStack('bounds')) {
const render = new KIRI.Render().setLayer('bounds', { face: 0xaaaaaa, line: 0xaaaaaa });
const stack = STACKS.create('bounds', SPACE.platform.world);
stack.add(render.addPolys([