diff options
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 3462a3eb8a7..b768f24a391 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -1987,6 +1987,9 @@ int Resize(TransInfo *t, short mval[2]) (t->center2d[0] - mval[0])*(t->center2d[0] - mval[0]) ) ) / t->fac; } + + if ((t->center2d[0] - mval[0]) * (t->center2d[0] - t->imval[0]) < 0) + ratio *= -1.0f; size[0] = size[1] = size[2] = ratio; |