Maintain scaling ratio of non-free axes in Maintain Volume T48079 fix.
authorAlexander Gavrilov <angavrilov@gmail.com>
Fri, 2 Mar 2018 08:01:49 +0000 (11:01 +0300)
committerAlexander Gavrilov <angavrilov@gmail.com>
Fri, 2 Mar 2018 08:01:49 +0000 (11:01 +0300)
commita9509a2f8a9abfdd12bb21153879af05924db2b5
treea6eb35d466368a847c7d21ae4c82847c0bd4a8c8
parentff74357da09d5060d61d247f75dbb01e91ca3bb9
Maintain scaling ratio of non-free axes in Maintain Volume T48079 fix.

This is probably a better way to handle it: instead of totally
discarding scaling of non-free axes, keep the ratio between them.
Basically the logic of the constraint is now that it rescales the
object uniformly in the non-free axis plane in order to force the
total volume change to the desired value.
source/blender/blenkernel/intern/constraint.c