forked from bartvdbraak/blender
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:
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user