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
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-03-29 19:11:17 -06:00
2021-08-03 12:33:36 +02:00
2021-08-03 12:33:36 +02:00
2021-08-03 12:33:36 +02:00
2021-07-26 14:57:13 +02:00
2021-08-02 15:22:54 +10:00