diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-30 01:13:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-30 01:13:37 +0400 |
commit | 6403858ad961935e4b60f044b6fef05eeaaff7d9 (patch) | |
tree | 97f7eef2869e8de07544f7ef5538485225e6fb7a /source/blender/editors | |
parent | 5763e6ce8518bf878aa9212b5196fd0503f466d2 (diff) |
fix [#29111] Wrong application of delta scale
apply delta scale as a multiplier & do-versions on existing files.
- bumps subversion to 2.60.6
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/object/object_transform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_transform.c b/source/blender/editors/object/object_transform.c index e2039739be2..0d2b35eec02 100644 --- a/source/blender/editors/object/object_transform.c +++ b/source/blender/editors/object/object_transform.c @@ -188,15 +188,15 @@ static void object_clear_scale(Object *ob) { /* clear scale factors which are not locked */ if ((ob->protectflag & OB_LOCK_SCALEX)==0) { - ob->dsize[0]= 0.0f; + ob->dsize[0]= 1.0f; ob->size[0]= 1.0f; } if ((ob->protectflag & OB_LOCK_SCALEY)==0) { - ob->dsize[1]= 0.0f; + ob->dsize[1]= 1.0f; ob->size[1]= 1.0f; } if ((ob->protectflag & OB_LOCK_SCALEZ)==0) { - ob->dsize[2]= 0.0f; + ob->dsize[2]= 1.0f; ob->size[2]= 1.0f; } } |