diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2021-06-05 15:47:11 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2021-06-05 16:29:46 +0300 |
commit | edaaa2afddb2132e56f39791e559b084b6df8773 (patch) | |
tree | 52e86c5b85a0640ec5bd1689c47e0cc81370afbc /source/blender/nodes/geometry/nodes/node_geo_attribute_clamp.cc | |
parent | d2dc452333a4cfd335a0075277c21349473ba678 (diff) |
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
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_attribute_clamp.cc')
0 files changed, 0 insertions, 0 deletions