| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Ah, I didn't account for scene.camera being set directly and not through the camera system, but for the inspector it does make sense. Instead of the additional check, it might be better to move the assignment of cameraElParent into the rayOrigin === 'xrselect' clause. While the inspector is open there shouldn't be any xrselect events. And the xrselect raycasting only makes sense when the XRPose is translated into world space, so I'd rather see it bail/error out than to fallback to treating reference space as world space, which might not be correct. |
Sorry, something went wrong.
|
Got it, I did the change you suggested. |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description:
@mrxz #5606 broke the inspector that uses a threejs camera directly, not an entity.
Changes proposed: