Blender Git Loki

Git Commits -> Revision 22c7967

June 7, 2021, 14:59 (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: 22c79672050067ac70589dcb08f4fcb827829c00
Parent Commit: 5608865
Committed By: Jacques Lucke
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