This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenlib/intern
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
..
2020-07-02 13:03:46 +10:00
2021-05-25 17:16:54 +02:00
2021-05-06 08:09:05 +10:00
2021-07-07 13:42:46 +10:00
2020-10-19 08:12:33 -07:00
2021-02-14 20:58:04 +11:00
2021-04-01 22:20:53 +11:00
2020-10-19 08:12:33 -07:00
2021-07-08 13:31:38 +10:00
2021-03-18 09:36:44 +11:00
2021-03-25 16:01:41 +01:00
2021-08-02 15:22:54 +10:00
2020-11-18 00:27:29 +11:00
2020-08-03 17:42:45 +02:00
2021-07-05 15:54:57 +10:00
2021-07-16 11:45:52 +10:00
2021-07-29 11:38:43 +02:00
2021-01-20 16:15:53 +11:00
2020-10-19 08:43:08 -07:00