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

BatchedMesh: Cleanup #27201

Merged
merged 2 commits into from
Nov 17, 2023
Merged

BatchedMesh: Cleanup #27201

merged 2 commits into from
Nov 17, 2023

Conversation

gkjohnson
Copy link
Collaborator

Related issue: #22376

Description

Changes the BatchedMesh._visible member to BatchedMesh._visibility and visible member in toJSON to visibility to avoid name collision with Object3D's visible member. Also remove comment.

With this I think it's ready!

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
668.2 kB (165.8 kB) 668.2 kB (165.8 kB) +36 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
449.4 kB (108.9 kB) 449.4 kB (108.9 kB) +6 B

@mrdoob mrdoob added this to the r159 milestone Nov 17, 2023
@mrdoob mrdoob merged commit 034181b into mrdoob:dev Nov 17, 2023
12 checks passed
@gkjohnson gkjohnson deleted the batchd-cleanup branch November 17, 2023 14:42
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
* visible -> visibility

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

Successfully merging this pull request may close these issues.

None yet

2 participants