diff --git a/src/react-components/room/hooks/useObjectList.js b/src/react-components/room/hooks/useObjectList.js index e2443dad60..17e523be5f 100644 --- a/src/react-components/room/hooks/useObjectList.js +++ b/src/react-components/room/hooks/useObjectList.js @@ -53,7 +53,7 @@ function handleInspect(scene, object, callback) { cameraSystem.uninspect(false); } - cameraSystem.inspect(object, 1.5, false); + cameraSystem.inspect(object3D, 1.5, false); } } @@ -65,7 +65,8 @@ function handleDeselect(scene, object, callback) { cameraSystem.uninspect(false); if (object) { - cameraSystem.inspect(object, 1.5, false); + const object3D = shouldUseNewLoader() ? APP.world.eid2obj.get(object.eid) : object.el.object3D; + cameraSystem.inspect(object3D, 1.5, false); } }