Blender Git Loki
Git Commits -> Revision 9791b0e
Revision 9791b0e by Alexander Gavrilov December 16, 2020, 10:28 (GMT) |
Limit Rotation: add an Euler Order option and orthogonalize the matrix. Since Limit Rotation is based on Euler decomposition, it should allow specifying the order to use for the same reasons as Copy Rotation does, namely, if the bone uses Quaternion rotation for its animation channels, there is no way to choose the order for the constraint. In addition, add a call to orthogonalize the matrix before processing for the same reasons as D8915, and an early exit in case no limits are enabled for a bit of extra efficiency. Since the constraint goes through Euler decomposition, it would remove shear even before the change, but the rotation won't make much sense. Differential Revision: https://developer.blender.org/D9626 |
Commit Details:
Full Hash: 9791b0eec18b5b03d588917abd4dd9cb437e0f53
Parent Commit: 2b5abf5
Lines Changed: +29, -2