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.
This commit is contained in:
Konrad Kleine 2011-01-18 15:02:58 +00:00
parent 121f428097
commit 083be90232

@ -1674,7 +1674,7 @@ void object_rot_to_mat3(Object *ob, float mat[][3])
normalize_qt_qt(tquat, ob->quat); normalize_qt_qt(tquat, ob->quat);
quat_to_mat3(rmat, tquat); quat_to_mat3(rmat, tquat);
normalize_qt_qt(tquat, ob->quat); normalize_qt_qt(tquat, ob->dquat);
quat_to_mat3(dmat, tquat); quat_to_mat3(dmat, tquat);
} }