Alexander Gavrilov
1854cccad7
Drivers: add an Average Scale option to the Transform Channel driver vars.
...
Unlike location and rotation, there is a meaningful definition of
overall/average scaling via the total change in the volume. This
adds an option to retrieve that via a single driver variable,
instead of having to use three and an expression.
Using the determinant to compute the volume scaling also allows
detecting flipping due to negative scale - this is impossible
to do via the three variable approach.
The volume_scale functions are added purely for code readability:
'volume scale factor' is easier to understand than determinant.
Differential Revision: https://developer.blender.org/D4803
2019-05-06 19:03:26 +03:00
..
2019-04-27 12:07:07 +10:00
2019-04-17 06:21:24 +02:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-05-01 16:34:54 +03:00
2019-04-17 06:21:24 +02:00
2019-04-27 12:07:07 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-28 14:50:48 -07:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-04-22 19:48:17 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-05-02 10:37:42 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-04-22 19:48:17 +10:00
2019-04-17 06:21:24 +02:00
2019-04-22 19:48:17 +10:00
2019-04-22 19:48:17 +10:00
2019-04-17 06:21:24 +02:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-05-01 16:02:27 +02:00
2019-04-22 19:48:17 +10:00
2019-04-22 19:48:17 +10:00
2019-04-17 06:21:24 +02:00
2019-05-01 10:51:10 +10:00
2019-04-22 19:48:17 +10:00
2019-05-01 11:13:14 +10:00
2019-04-17 06:21:24 +02:00
2019-05-03 12:43:02 +10:00
2019-05-03 12:43:02 +10:00
2019-04-27 12:07:07 +10:00
2019-04-24 19:11:36 +02:00
2019-05-03 12:43:02 +10:00
2019-05-01 11:13:14 +10:00
2019-04-17 06:21:24 +02:00
2019-04-22 19:48:17 +10:00
2019-04-17 06:21:24 +02:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-05-06 19:03:26 +03:00
2019-04-17 06:21:24 +02:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-04-22 19:48:17 +10:00
2019-05-05 09:10:44 +02:00
2019-04-17 06:21:24 +02:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-04-17 06:21:24 +02:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-04-23 19:06:17 +02:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-17 06:21:24 +02:00
2019-05-01 16:34:54 +03:00
2019-04-17 06:21:24 +02:00
2019-04-30 16:48:07 -03:00
2019-04-27 12:07:07 +10:00
2019-05-03 12:43:02 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-29 10:08:16 +02:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-30 16:48:07 -03:00
2019-04-27 12:07:07 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-04-24 11:29:45 +02:00
2019-05-01 13:17:10 +10:00
2019-05-01 11:13:14 +10:00
2019-04-17 06:21:24 +02:00
2019-05-01 11:13:14 +10:00
2019-05-01 20:32:38 +10:00
2019-05-03 15:44:53 +02:00
2019-04-22 19:48:17 +10:00
2019-05-03 12:43:02 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-23 12:05:33 +02:00
2019-05-04 14:11:04 +02:00
2019-05-01 11:13:14 +10:00
2019-04-22 19:48:17 +10:00
2019-04-30 22:17:32 +02:00
2019-05-06 12:54:16 +02:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-04-22 19:48:17 +10:00
2019-04-22 19:48:17 +10:00
2019-05-03 15:50:40 +02:00
2019-04-22 19:48:17 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-05-06 12:54:16 +02:00
2019-04-27 12:07:07 +10:00
2019-05-01 11:13:14 +10:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-04-18 17:19:44 +02:00
2019-04-17 06:21:24 +02:00
2019-04-17 06:21:24 +02:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-05-01 11:13:14 +10:00
2019-04-27 12:07:07 +10:00
2019-04-18 07:59:28 +02:00
2019-04-22 19:48:17 +10:00
2019-04-17 06:21:24 +02:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-05-03 12:43:02 +10:00
2019-04-22 19:48:17 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-05-03 12:43:02 +10:00
2019-04-27 12:07:07 +10:00
2019-04-27 12:07:07 +10:00
2019-04-22 19:48:17 +10:00
2019-05-01 11:13:14 +10:00