Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index a057768d405..72a69b68641 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -1998,7 +1998,7 @@ int Resize(TransInfo *t, short mval[2])
/* for manipulator, center handle, the scaling can't be done relative to center */
if( (t->flag & T_USES_MANIPULATOR) && t->con.mode==0) {
- ratio = 1.0f - ((t->center2d[0] - mval[0]) + (t->center2d[1] - mval[1]))/100.0f;
+ ratio = 1.0f - ((t->imval[0] - mval[0]) + (t->imval[1] - mval[1]))/100.0f;
}
else {
ratio = (float)sqrt( (float)