diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-03-01 20:45:18 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-03-01 20:46:59 +0300 |
commit | ec76f38b0902e9effcee0cd96efd07fe6d1d1f4c (patch) | |
tree | 2c3891efdc73455b76b06d1e59e1410d965fbdc6 /source/blender/editors/util/numinput.c | |
parent | 3a3dfd4e650cfcbf93fe6439f444108760d27b61 (diff) |
Discard non-free axis scaling in Maintain Volume to improve 2.79 compat.
It seems the reason the old version of the constraint overcompensates
as reported in T48079 is to allow the constraint to work with uniform
scaling on all axes. However the way it did that actually _requires_
uniform scaling for the constraint to work correctly, and breaks if
only the free scaling axis is used to avoid redundant channels.
This version attempts to allow both by discarding scaling in the non-
free directions instead of applying the correction on top of it.
Diffstat (limited to 'source/blender/editors/util/numinput.c')
0 files changed, 0 insertions, 0 deletions