[Bf-blender-cvs] [3de8131] master: Error in last commit

Campbell Barton noreply at git.blender.org
Thu Oct 15 12:36:01 CEST 2015


Commit: 3de81314fa61f9b123e5d10cbe4176718479be10
Author: Campbell Barton
Date:   Thu Oct 15 21:28:07 2015 +1100
Branches: master
https://developer.blender.org/rB3de81314fa61f9b123e5d10cbe4176718479be10

Error in last commit

===================================================================

M	source/blender/blenlib/intern/math_matrix.c

===================================================================

diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c
index 6775467..4bf6d16 100644
--- a/source/blender/blenlib/intern/math_matrix.c
+++ b/source/blender/blenlib/intern/math_matrix.c
@@ -1315,6 +1315,7 @@ void normalize_m4_m4(float rmat[4][4], float mat[4][4])
 		float len = normalize_v3_v3(rmat[i], mat[i]);
 		rmat[i][3] = (len != 0.0f) ? (mat[i][3] / len) : mat[i][3];
 	}
+	copy_v4_v4(rmat[3], mat[3]);
 }
 
 void adjoint_m2_m2(float m1[2][2], float m[2][2])




More information about the Bf-blender-cvs mailing list