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

AnimationClip: Deprecate parseAnimation(). #30625

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 27, 2025

Related issue: -

Description

The static method AnimationClip.parseAnimation() was intended to parse animations of the old JSON format used by JSONLoader. The method has no other use in the library, AFAICS.

I vote to deprecate it now so we can safely remove it at the end of the year.

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.16
78.31
336.16
78.31
+0 B
+0 B
WebGPU 522.64
145.1
522.64
145.1
+0 B
+0 B
WebGPU Nodes 522.11
145
522.11
145
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.27
112.2
465.27
112.2
+0 B
+0 B
WebGPU 593.11
160.72
593.11
160.72
+0 B
+0 B
WebGPU Nodes 548.23
150.16
548.23
150.16
+0 B
+0 B

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.

1 participant