diff --git a/src/react-components/room/hooks/useObjectList.js b/src/react-components/room/hooks/useObjectList.js index d3fea1a864..863a57053d 100644 --- a/src/react-components/room/hooks/useObjectList.js +++ b/src/react-components/room/hooks/useObjectList.js @@ -46,7 +46,11 @@ function handleInspect(scene, object, callback) { callback(object); - if (object.el.object3D !== cameraSystem.inspectable) { + const object3D = shouldUseNewLoader() + ? APP.world.eid2obj.get(object.el.eid) + : object.el.object3D; + + if (object3D !== cameraSystem.inspectable) { if (cameraSystem.inspectable) { cameraSystem.uninspect(false); }