superframe icon indicating copy to clipboard operation
superframe copied to clipboard

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

Open dzg opened this issue 1 year ago • 0 comments

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.

dzg avatar Jan 19 '23 23:01 dzg