react-particles-webgl icon indicating copy to clipboard operation
react-particles-webgl copied to clipboard

.setDynamic() has been deprecated (warning)

Open kkdd opened this issue 5 years ago • 2 comments

Hello, The following warnings are displayed when run on Chrome:

three.module.js:33602 THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead.
setDynamic @ three.module.js:33602
three.module.js:33623 THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().

kkdd avatar Nov 09 '19 16:11 kkdd

Hey thanks for spotting this, what version of three.js are you using?

tim-soft avatar Nov 10 '19 01:11 tim-soft

Thank for your reply. I think that I am using [email protected]:

$ grep -i "revision " ./node_modules/three/build/three.module.js
var REVISION = '110';
$ find . -type f | xargs grep three[@-][0-9]
./node_modules/@types/three/package.json:  "_id": "@types/[email protected]",
./node_modules/@types/three/package.json:  "_resolved": "https://registry.npmjs.org/@types/three/-/three-0.103.2.tgz",
./node_modules/three/package.json:  "_id": "[email protected]",
./node_modules/three/package.json:  "_resolved": "https://registry.npmjs.org/three/-/three-0.110.0.tgz",
./package-lock.json:      "resolved": "https://registry.npmjs.org/@types/three/-/three-0.103.2.tgz",
./package-lock.json:      "resolved": "https://registry.npmjs.org/three/-/three-0.110.0.tgz",

kkdd avatar Nov 10 '19 05:11 kkdd