diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-19 14:32:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-19 14:32:02 +0400 |
commit | 5738f3b0b484e35582ac8dd8e46a75b66c0a6db3 (patch) | |
tree | f02f57387ce5c9b3ef0a7dd881926f6dc81b0c2c /source/blender/editors | |
parent | ff5cbabffd4d1bcfc8ff1c110e7f9d6d74c94f54 (diff) |
bugfix [#24322] Rotating objects with Axis+Angle mode fails.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index ae0bce176c1..e6a42b9a921 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -3017,7 +3017,7 @@ static void ElementRotation(TransInfo *t, TransData *td, float mat[3][3], short mat3_to_quat( quat,fmat); // Actual transform mul_qt_qtqt(tquat, quat, iquat); - quat_to_axis_angle( td->ext->rotAxis, td->ext->rotAngle,quat); + quat_to_axis_angle( td->ext->rotAxis, td->ext->rotAngle,tquat); /* this function works on end result */ protectedAxisAngleBits(td->protectflag, td->ext->rotAxis, td->ext->rotAngle, td->ext->irotAxis, td->ext->irotAngle); |