Blender Git Commit Log

Git Commits -> Revision 06f6f4a

Revision 06f6f4a by Alexander Gavrilov
December 2, 2020, 17:24 (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: 06f6f4a275caa13497cf9a817451b8284de4cb40
Parent Commit: 4efa126
Lines Changed: +29, -2

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+20, -2) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021