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-07-30 16:19:19 +10:00
2021-07-09 13:37:52 +10:00
2020-03-19 09:33:58 +01:00
2021-07-04 00:43:40 +10:00
2020-07-02 13:03:46 +10:00
2021-03-24 19:34:44 +11:00
2021-07-12 11:46:24 +02:00
2021-05-25 17:16:54 +02:00
2021-05-06 08:09:05 +10:00
2021-07-20 22:58:14 +10:00
2021-07-07 13:42:46 +10:00
2021-07-20 22:58:14 +10:00
2021-07-20 22:58:14 +10:00
2020-10-19 08:12:33 -07:00
2020-10-27 21:45:55 +11:00
2020-07-20 16:03:14 +02:00
2021-07-23 17:03:51 +10:00
2020-08-07 11:23:02 +02:00
2021-07-15 21:09:39 +10:00
2020-03-19 09:33:58 +01:00
2021-07-20 22:58:14 +10:00
2021-06-11 00:31:16 +10:00
2021-07-20 22:58:14 +10:00
2021-07-20 15:01:05 +10:00
2021-08-03 15:27:20 +10:00
2020-11-25 22:31:47 +03:00
2021-07-20 22:58:14 +10:00
2021-07-23 08:31:40 -04:00
2021-07-20 14:49:49 +02:00
2021-02-14 20:58:04 +11:00
2020-03-19 09:33:58 +01:00
2020-08-07 11:23:02 +02:00
2021-06-30 16:42:19 +10:00
2020-03-19 09:33:58 +01:00
2021-07-15 18:29:01 +10:00
2021-07-30 16:19:19 +10:00
2021-06-24 15:59:34 +10:00
2021-04-01 10:54:49 -03:00
2021-02-05 16:23:34 +11:00
2021-06-24 15:59:34 +10:00
2020-09-04 21:04:16 +02:00
2021-02-05 16:23:34 +11:00
2021-07-04 00:43:40 +10:00
2020-08-07 22:37:39 +10:00
2021-04-01 22:20:53 +11:00
2020-10-19 08:12:33 -07:00
2021-07-30 16:19:19 +10:00
2020-07-16 11:28:31 +02:00
2021-01-20 16:14:00 +11:00
2021-01-20 16:14:00 +11:00
2021-01-24 16:08:17 +11:00
2021-01-20 16:14:00 +11:00
2021-07-30 18:44:26 +02:00
2021-07-30 16:19:19 +10:00
2021-07-20 22:58:14 +10:00
2021-07-20 22:58:14 +10:00
2021-07-23 17:03:51 +10:00
2021-07-23 17:03:51 +10:00
2021-07-08 13:31:38 +10:00
2021-03-18 09:36:44 +11:00
2021-01-20 16:14:00 +11:00
2021-06-22 17:02:45 +02:00
2021-03-25 16:01:41 +01:00
2021-08-03 13:43:42 +02:00
2021-06-14 12:32:38 +02:00
2021-07-20 22:58:14 +10:00
2021-07-20 17:11:29 +02:00
2021-08-02 15:22:54 +10:00
2021-07-20 22:54:48 +10:00
2021-08-03 15:27:20 +10:00
2021-07-04 00:43:40 +10:00
2021-07-20 22:58:14 +10:00
2020-08-07 11:23:02 +02:00
2021-06-28 19:35:43 +10:00
2020-11-18 00:27:29 +11:00
2021-02-05 16:23:34 +11:00
2021-08-03 15:27:20 +10:00
2020-08-03 17:42:45 +02:00
2021-07-20 22:58:14 +10:00
2020-08-07 11:23:02 +02:00
2021-07-05 15:54:57 +10:00
2021-06-28 15:46:08 +10:00
2021-06-14 12:26:07 +02:00
2021-06-24 15:59:34 +10:00
2020-03-19 09:33:58 +01:00
2021-03-24 12:53:58 +01:00
2021-07-04 00:43:40 +10:00
2021-07-23 17:03:51 +10:00
2021-07-20 22:58:14 +10:00
2021-06-24 15:59:34 +10:00
2021-07-16 11:45:52 +10:00
2021-06-15 17:28:44 +02:00
2021-07-29 11:37:10 -03:00
2021-07-22 00:47:29 +10:00
2021-07-15 18:29:01 +10:00
2021-06-15 17:28:44 +02:00
2021-02-05 16:23:34 +11:00
2020-03-19 09:33:58 +01:00
2021-07-29 11:38:43 +02:00
2020-07-06 12:37:11 +02:00
2021-04-28 13:13:43 -05:00
2020-08-07 22:56:13 +10:00
2021-01-20 16:15:53 +11:00
2020-10-19 08:43:08 -07:00
2021-07-20 15:01:05 +10:00