New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PropertyBinding: Use .morphTargetDictionary, not attribute.name... #19362
PropertyBinding: Use .morphTargetDictionary, not attribute.name... #19362
Conversation
dfdb20a
to
8b53f3c
Compare
Well the morph target examples still work, but none of them actually hit this code. I guess they are targeted by index instead. @Bug-Reaper do you have a way of testing if this fix also works for your issue, #19357? |
…morph target bindings.
8b53f3c
to
27f3129
Compare
The one remaining use of |
Yea, I agree it'd probably be helpful to have This would probably be best accompanied with an example for manually constructing a mesh with morph targets. I'm also curious about the differences between bufferGeometries and geometries here. Docs seem to indicate that geometries use While bufferGeometries use Are there any implications in the differences there that might be affected by this update? I believe I've only tested this PR with bufferGeometries. |
Support for Geometry (as opposed to BufferGeometry) is a non-goal: we're trying to deprecate Geometry, and have already removed skinning support from Geometry. I would like to see Lines 82 to 87 in 79edf22
|
Alright cool cool. Didn't know we were deprecating geometry, sounds spicy. I'll see what I can do about a separate PR for wrangling in the updateMorphTargets function. Though looking at it, it seems like we might want to adapt it to have more useful functionality. A full fledged I'd probably want to go through the process of manually adding morphTargets to see what would be most useful. Thanks again @donmccurdy :) |
Thanks! |
… for morph target bindings.
Also removes the Geometry support, since support for
Mesh.updateMorphTargets()
was already dropped.Fixes #19357.