Blender Git Commit Log
Git Commits -> Revision 1854ccc
Revision 1854ccc by Alexander Gavrilov (master) May 6, 2019, 16:03 (GMT) |
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 |
Commit Details:
Full Hash: 1854cccad7c31a6b8235faf980ffdd6a80163e02
Parent Commit: 11d2c0b
Lines Changed: +31, -0