diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-03-07 18:36:52 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-03-07 18:36:52 +0300 |
commit | 8a4f9ef831f6a938e694442d197a3d5a21b8ba7a (patch) | |
tree | 0170581662319965021ab2c9d41a819b3fa8fea2 /source/blender/editors/transform | |
parent | 2e7417929134258c88150fb85b93d1ea6fb4326d (diff) |
[#21433] Angular rotation snap issue, final value set is not snapped - SVN 27250 and 2.50A1
Needed to reassign calculated rotation into the values vector.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index f19265679f9..e845f8f780f 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -3004,6 +3004,8 @@ int Rotation(TransInfo *t, short mval[2]) sprintf(str, "Rot: %.2f%s %s", 180.0*final/M_PI, t->con.text, t->proptext); } + t->values[0] = final; + vec_rot_to_mat3( mat, t->axis, final); // TRANSFORM_FIX_ME |