diff options
author | Konrad Kleine <konrad.wilhelm.kleine@gmail.com> | 2011-01-18 18:02:58 +0300 |
---|---|---|
committer | Konrad Kleine <konrad.wilhelm.kleine@gmail.com> | 2011-01-18 18:02:58 +0300 |
commit | 083be9023271ad057365917bf289e10d6524a9fc (patch) | |
tree | 8038de0460b8a98e0e4ca9adc29b66963eb2951e /source/blender/blenkernel/intern/object.c | |
parent | 121f428097e8874a4f9a3b3ae8b783865a3a8eed (diff) |
Fix for "[#25700] 2.56: Rotation Mode: Quaternion shows wrong orientation of the object".
There was a small typing error that made object and armatures rotate twice the magnitude when in quaternion rotation mode.
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 0ac98256b07..43a13b27736 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -1674,7 +1674,7 @@ void object_rot_to_mat3(Object *ob, float mat[][3]) normalize_qt_qt(tquat, ob->quat); quat_to_mat3(rmat, tquat); - normalize_qt_qt(tquat, ob->quat); + normalize_qt_qt(tquat, ob->dquat); quat_to_mat3(dmat, tquat); } |