Blender Git Commit Log

Git Commits -> Revision 244ce47

June 5, 2021, 16:02 (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:

Commit Details:

Full Hash: 244ce477902bb5c76939cbe820c52e1fd76655ec
Parent Commit: 3ef4dc3
Committed By: Julian Eisel
Lines Changed: +10, -0

1 Modified Path:

/source/blender/blenkernel/intern/constraint.c (+10, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021