2

in the version r56 of three.js this was working

geometry.verticesNeedUpdate = true 

in the new r58 version it is not, what should I do?

Memo Lestas
  • 393
  • 1
  • 4
  • 13

1 Answers1

2

The migration docs explain API changes between versions:

If you are using BufferGeometry, geometry.verticesNeedUpdate has been changed to geometry.attributes.index.needsUpdate.

WestLangley
  • 102,557
  • 10
  • 276
  • 276
uhura
  • 2,623
  • 22
  • 25