fix use of platform.world

This commit is contained in:
Stewart Allen 2022-01-02 19:29:28 -05:00
commit fd645737e2
6 changed files with 9 additions and 8 deletions

View file

@ -1436,7 +1436,7 @@
}, (layers, maxSpeed, minSpeed) => {
API.show.progress(0);
STACKS.clear();
const stack = STACKS.create('parse', SPACE.platform.world);
const stack = STACKS.create('parse', SPACE.world);
layers.forEach(layer => stack.add(layer));
updateSliderMax(true);
updateSpeeds(maxSpeed, minSpeed);
@ -1513,7 +1513,7 @@
// mesh.castShadow = true;
// mesh.receiveShadow = true;
//
// SPACE.platform.world.add(mesh);
// SPACE.world.add(mesh);
let widget = newWidget().loadVertices(bigv)
widget.meta.file = opt.file;
platform.add(widget);