Skip to content

Commit

Permalink
fix: hand mesh not visible after tracking lost/restored (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
bodo22 authored Dec 22, 2022
1 parent 22d262c commit 351bcde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ function XRManager({
<InteractionManager>
<primitive object={player}>
<primitive object={camera} />
{controllers.map((controller, i) => (
<primitive key={i} object={controller} />
{controllers.map((controller) => (
<primitive key={controller.index} object={controller} />
))}
</primitive>
{children}
Expand Down

0 comments on commit 351bcde

Please sign in to comment.