Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Call reset from fit if the camera is non-orthographic #1753

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

STINGNAILS
Copy link
Contributor

Why

The last Bounds update was breaking for fit function.
Also, I've found an issue with controls-bounds-viewcube interaction.

What

Added reset() call to the fit function for non-orthographic camera case.
Also added camera.up update when animating

Checklist

  • Documentation updated (example)
  • Storybook entry added (example)
  • Ready to be merged

Copy link

vercel bot commented Dec 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drei ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2023 3:22pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 34e98c2:

Sandbox Source
late-bush-hptzp9 Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration

@drcmda drcmda merged commit 5c4f60e into pmndrs:master Dec 14, 2023
4 checks passed
Copy link

🎉 This PR is included in version 9.92.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants