Blender Git Loki

Git Commits -> Revision edaaa2a

Revision edaaa2a by Alexander Gavrilov (master)
June 5, 2021, 13:29 (GMT)
Limit Rotation: explicitly orthogonalize the matrix before processing.

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
in fact remove shear even before this change, but the resulting
rotation won't make much sense.

This change allows using the constraint without any enabled limits
purely for the purpose of efficiently removing shear.

Differential Revision: https://developer.blender.org/D9626

Commit Details:

Full Hash: edaaa2afddb2132e56f39791e559b084b6df8773
Parent Commit: d2dc452
Lines Changed: +10, -0

1 Modified Path:

/source/blender/blenkernel/intern/constraint.c (+10, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021