From ea830a681a04f3cc2020249cf76563618c684eab Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Mon, 27 Dec 2021 17:48:45 -0500 Subject: [PATCH] fix fdm client use of platform.add/remove --- src/mode/fdm/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mode/fdm/client.js b/src/mode/fdm/client.js index a9cfa7d2..65227311 100644 --- a/src/mode/fdm/client.js +++ b/src/mode/fdm/client.js @@ -79,7 +79,7 @@ function filterSynth() { api.widgets.filter((widget) => { if (widget.track.synth) { - api.const.SPACE.platform.remove(widget.mesh); + api.const.SPACE.world.remove(widget.mesh); kiri.Widget.Groups.remove(widget); } return !widget.track.synth @@ -295,7 +295,7 @@ sw._move(fwp.x, fwp.y, fwp.z); api.widgets.add(sw); sw.track.synth = true; - api.const.SPACE.platform.add(sw.mesh); + api.const.SPACE.world.add(sw.mesh); } }); api.event.on("slice.end", () => {