donmccurdy / three-gltf-viewer

Drag-and-drop preview for glTF 2.0 models in WebGL using three.js.
https://gltf-viewer.donmccurdy.com/
MIT License
2.15k stars 539 forks source link

Group morph target controls by parent mesh #365

Open donmccurdy opened 7 months ago

donmccurdy commented 7 months ago

As reported at https://blenderartists.org/t/when-exporting-gltf-from-blender-multiple-meshes-appear-in-the-morph-target-in-the-viewer/1523555, the morph target controls would be more usable if they were grouped by parent mesh, rather than separated for each mesh primitive. All primitives in a given mesh will have the same morph targets available.