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: updates meshBounds for three.js r124 #299

Merged
merged 3 commits into from
Feb 11, 2021

Conversation

CharlieHess
Copy link
Contributor

Why

Three.js deprecated getInverse in r123: mrdoob/three.js#20611 (comment).
Then in a surprisingly aggressive move it looks like they removed it in r124, causing breakages.

What

The new way to do this is .invert().

Checklist

  • Documentation updated
  • Storybook entry added
  • Ready to be merged

@vercel
Copy link

vercel bot commented Feb 11, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/drei/13rzd9qu9
✅ Preview: https://drei-git-fork-charliehess-patch-1.pmndrs.vercel.app

@gsimone
Copy link
Member

gsimone commented Feb 11, 2021

CI fails, can you give a look to the logs?

@codesandbox-ci
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 2c18ebe:

Sandbox Source
cranky-keldysh-pqmtb Configuration
drei reflector Configuration
arc-x-pmndrs-colors Configuration

@gsimone gsimone changed the title Update meshBounds for r124 fix: updates meshBounds for r124 Feb 11, 2021
@gsimone gsimone changed the title fix: updates meshBounds for r124 fix: updates meshBounds for three.js r124 Feb 11, 2021
@joshuaellis
Copy link
Member

LGTM. Thank you for the contribution

@joshuaellis joshuaellis merged commit c68fc50 into pmndrs:master Feb 11, 2021
@github-actions
Copy link

🎉 This PR is included in version 3.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@CharlieHess CharlieHess deleted the patch-1 branch February 11, 2021 16:43
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.

3 participants