mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
111fe1755d
* The final `set skeleton` call destroys and rebuilds the GPU bone resources that were bound in the previous two steps. However, the descriptor set is not rebound. As a result, the draw call for this subModel cannot access the bone matrices, so the entire character fails to render (this is not vertex deformation; the character does not appear at all). The fix should replace the reference in `descriptor.buffer` with the new buffer, mark it dirty, and lazily rebuild the descriptor before the next draw. * opt * fix: retain negative scale signs in Node.setWorldScale * test: retain negative scale signs in Node.setWorldScale * fix