From b7dbb2f48e32858201ce2e5c5b11222f06e5a381 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 25 Mar 2014 16:22:47 +0600 Subject: Correction to the previous commit --- source/blender/blenlib/intern/math_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 3dd6c667494..cfcbd0bce72 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); } } } -- cgit v1.2.3