[Bf-blender-cvs] [b7dbb2f] master: Correction to the previous commit

Sergey Sharybin noreply at git.blender.org
Tue Mar 25 11:23:04 CET 2014


Commit: b7dbb2f48e32858201ce2e5c5b11222f06e5a381
Author: Sergey Sharybin
Date:   Tue Mar 25 16:22:47 2014 +0600
https://developer.blender.org/rBb7dbb2f48e32858201ce2e5c5b11222f06e5a381

Correction to the previous 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 3dd6c66..cfcbd0b 100644
--- a/source/blender/blenlib/intern/math_matrix.c
+++ b/source/blender/blenlib/intern/math_matrix.c
@@ -2126,7 +2126,7 @@ void invert_m4_m4_safe(float Ainv[4][4], float A[4][4])
 		Atemp[2][2] += 1e-8f;
 
 		if (!invert_m4_m4(Ainv, Atemp)) {
-			return unit_m4(Ainv);
+			unit_m4(Ainv);
 		}
 	}
 }




More information about the Bf-blender-cvs mailing list