Blender Git Loki
Git Commits -> Revision ebbeb08
Revision ebbeb08 by Bastien Montagne (master) May 21, 2014, 13:22 (GMT) |
Fix T40271: recalculation of the bone roll does not work correctly. Check that up_axis is not aligned with bone was wrong in at least two aspects (not working against negative alignement case, and since ages it seems, using Z axis when bones are along Y axis...). Also optimized a bit here, better to have a normalized version of vec_roll_to_mat3(), since it needs normalized vector anyway, and we have to normalize it for the tests before calling it anyway (so now, we only do that twice in Transform code, instead of three times). And we can perform aling test *before* calling vec_roll_to_mat3! |
Commit Details:
Full Hash: ebbeb082d1bef78d1fa162822db2af44468e97cd
Parent Commit: d203edf
Lines Changed: +12, -12