Commit: 60505728d9bff2963235fedc808d1e5e3b2a2ade
Author: Campbell Barton
Date: Thu Nov 12 18:36:23 2015 +1100
Branches: master
https://developer.blender.org/rB60505728d9bff2963235fedc808d1e5e3b2a2ade
Correct error in own matrix normalize commit
===================================================================
M source/blender/blenlib/intern/math_rotation.c
===================================================================
diff --git a/source/blender/blenlib/intern/math_rotation.c
b/source/blender/blenlib/intern/math_rotation.c
index f89f622..d962e4f 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -1224,9 +1224,9 @@ void mat3_normalized_to_eul(float eul[3], float mat[3][3])
}
void mat3_to_eul(float eul[3], float mat[3][3])
{
- float tmat[3][3];
- normalize_m3_m3(tmat, mat);
- mat3_normalized_to_eul(eul, mat);
+ float unit_mat[3][3];
+ normalize_m3_m3(unit_mat, mat);
+ mat3_normalized_to_eul(eul, unit_mat);
}
/* XYZ order */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs