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

Delete deprecated Tern defs #30657

Open
Danilkat opened this issue Mar 5, 2025 · 1 comment
Open

Delete deprecated Tern defs #30657

Danilkat opened this issue Mar 5, 2025 · 1 comment
Labels

Comments

@Danilkat
Copy link

Danilkat commented Mar 5, 2025

Description

Im refactoring some very old tjs code right now, and ive stumbled upon some fields that are nonexistent in geometry.
The fields that ive found as of now (there might be more):

  • lineDistances
  • lineDistancesNeedUpdate
  • verticesNeedUpdate
  • normalsNeedUpdate

I've confirmed that these fields are nowhere to be found in the three.js' source code, except for one place:
editor\js\libs\tern-threejs\threejs.js

I'm not sure what Tern is, and if there even is a need to delete those fields, but i thought it would be good to have this issue stated somewhere.

Reproduction steps

no repr

Code

no code

Live example

no example

Screenshots

No response

Version

r174

Device

No response

Browser

No response

OS

No response

@Mugen87
Copy link
Collaborator

Mugen87 commented Mar 5, 2025

tern used is used for auto-completion in the three.js editor when writing scripts.

Legacy fields can be removed from editor\js\libs\tern-threejs\threejs.js.

@Mugen87 Mugen87 added the Editor label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants