Blender Git Commit Log
Git Commits -> Revision be0a272
Revision be0a272 by Peter Kim (xr-controller-support) August 12, 2021, 21:44 (GMT) |
XR: Fix crash/assert on loading controller model When calculating controller model component transforms from glTF node data, it was previously wrongly assumed that the glTF nodes would always contain transform matrix values. However, nodes can instead store their transforms as separate translation/rotation/scale values, in which case the transform matrix needs to be explicitly calculated. This was the case for the Reverb G2 controller models using the Windows Mixed Reality runtime. Special thanks to Werner Trunk for help with testing/debugging. |
Commit Details:
Full Hash: be0a272d9195e5536afc946ec300d593aab19da8
Parent Commit: 5f52895
Lines Changed: +65, -22
1 Modified Path:
/intern/ghost/intern/GHOST_XrControllerModel.cpp (+65, -22) (Diff)