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

Bump Three.js to r162 #1379

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Bump Three.js to r162 #1379

merged 2 commits into from
Mar 7, 2024

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented Mar 6, 2024

This PR bumps Three.js to r162.

See: https://github.com/mrdoob/three.js/releases/tag/r162

@types/three no longer expose THREE to global and I somehow forgot to import the types in many files, so I fixed it also.

0b5vr added 2 commits March 6, 2024 18:58
There is a lot of build errors right now
It seems most of them come from the change that @types/three no longer expose THREE to global (and I somehow forgot to import in many files!)
@0b5vr 0b5vr added the dependencies Pull requests that update a dependency file label Mar 6, 2024
@0b5vr 0b5vr added this to the next milestone Mar 6, 2024
@0b5vr 0b5vr requested a review from yue4u March 6, 2024 11:12
@0b5vr 0b5vr self-assigned this Mar 6, 2024
@yue4u
Copy link
Contributor

yue4u commented Mar 7, 2024

Migration Guide

WebGLRenderer now specifies precision qualifiers for all GLSL sampler types. https://github.com/mrdoob/three.js/pull/27482/files

This change does not affect mtoon and tests are also ok.

@@ -1,3 +1,4 @@
import type * as THREE from 'three';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can also be done as import { type Group } from 'three'; but requires more changes overall. I'm ok with current approach.

@yue4u yue4u self-requested a review March 7, 2024 03:24
@0b5vr 0b5vr merged commit b4b6833 into dev Mar 7, 2024
6 checks passed
@0b5vr 0b5vr deleted the bump-three-r162 branch March 7, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants