Skip to content

BufferAttributes in BufferGeometry.morphAttributes once set, can never be updated #24243

@Ithamar

Description

@Ithamar

Describe the bug

There seems to be no way of updating morph target values (the vertices in position attributes, in my case).

To Reproduce

Steps to reproduce the behavior:

Simply grab an attribute from geometry.morphAttributes.position[], update the values in the array, and set the attributes needsUpdate to true, and wait for nothing to happen :(

Expected behavior

Either Mesh.updateMorphTargets() should trigger a refresh or needsUpdate on the morphattributes should be honoured (or yet-another-method should be available to do so).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions