Files
test2/source/blender/blenlib/tests
Sybren A. Stüvel 0342fb5d20 Fix T90387: division by zero when trying to invert scale
Fix division by zero when `BKE_bone_parent_transform_invert()` inverts a
scale vector with zero components.

Zero values in the to-be-inverted vector are now simply skipped, i.e.
remain zero after inversion. This at least ensures that
`invert_v3_safe(invert_v3_safe(vector))` results in the same vector.

This commit does NOT fix the conceptual problem that an inversion of a
potentially non-invertible vector is relied upon. It just avoids the
division by zero.
2021-08-03 13:43:42 +02:00
..
2021-05-25 17:16:54 +02:00
2020-08-11 13:19:09 +10:00
2020-12-14 14:09:18 +03:00
2021-03-25 16:01:41 +01:00
2021-06-22 10:54:50 -07:00
2021-06-29 10:37:00 +10:00
2020-11-09 15:47:08 +11:00
2021-06-18 14:41:24 +10:00