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

getOrCreateObject3D has been deprecated. Use setObject3D() and object3dset event instead. #312

Open
dzg opened this issue Jan 19, 2023 · 0 comments

Comments

@dzg
Copy link

dzg commented Jan 19, 2023

The "text-geometry" component has a line:

const mesh = el.getOrCreateObject3D('mesh', THREE.Mesh)

which generates this warning from aframe:

`getOrCreateObject3D` has been deprecated. Use `setObject3D()` and `object3dset` event instead. 

What should I replace this with? I don't think  setObject3D() nor object3dset works.

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

No branches or pull requests

1 participant