Note
Triplex for VS Code is now in open Beta! Get started now.
New features
- Add a helper for the XROrigin component from
@react-three/xr
. - The XROrigin component is now disabled when in edit state or looking through the editor camera.
Bug fixes
- Fix component environment check using
@react-three/drei
hooks to prevent accidentally loading a three fiber environment when a react dom environment should have been loaded. - Fix function props being marked as required when they actually were optional.
- Transform controls now reads the initial state from props instead of the scene fixing some edge cases affecting Triplex users, such as transforming decal meshes.
- Elements that have associated helpers now also render children when the helper is rendered.
Chores
- Upgrade typescript dependencies.
- Upgrade react-three dependencies.
- Upgrade vite dependencies.