Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/editors/transform/transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index cd339e1e5a6..2fcdb19e60c 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -2650,7 +2650,7 @@ static void constraintob_from_transdata(bConstraintOb *cob, TransData *td)
}
else if (td->ext->rotOrder == ROT_MODE_AXISANGLE) {
/* axis angle */
- axis_angle_to_mat4(cob->matrix, &td->ext->quat[1], td->ext->quat[0]);
+ axis_angle_to_mat4(cob->matrix, td->ext->rotAxis, *td->ext->rotAngle);
}
else {
/* eulers */
@@ -2716,7 +2716,7 @@ static void constraintRotLim(TransInfo *UNUSED(t), TransData *td)
}
else if (td->ext->rotOrder == ROT_MODE_AXISANGLE) {
/* axis angle */
- mat4_to_axis_angle(&td->ext->quat[1], &td->ext->quat[0], cob.matrix);
+ mat4_to_axis_angle(td->ext->rotAxis, td->ext->rotAngle, cob.matrix);
}
else {
/* eulers */