Skip to content

Commit

Permalink
fix: GizmoHelper rotations not respecting camera up (#2321) (#2322)
Browse files Browse the repository at this point in the history
  • Loading branch information
mqrty authored Jan 27, 2025
1 parent eb449ed commit 2943f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/GizmoHelper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const GizmoHelper = ({

React.useEffect(() => {
defaultUp.current.copy(mainCamera.up)
dummy.up.copy(mainCamera.up)
}, [mainCamera])

const tweenCamera = React.useCallback(
Expand Down

0 comments on commit 2943f59

Please # to comment.