diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-15 13:28:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-15 13:28:07 +0300 |
commit | 83d6b73e96b5bccc3da3bbafa5ccda3fb7165651 (patch) | |
tree | 742ab48a17c3affc272075acdb05355c8943bcc2 /source/blender/blenlib/intern/math_matrix.c | |
parent | 0a82a20fe4f83e937a67a2489f61eae639fb1d9c (diff) |
Error in last commit
Diffstat (limited to 'source/blender/blenlib/intern/math_matrix.c')
-rw-r--r-- | source/blender/blenlib/intern/math_matrix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c index b4cdce7cc11..67754672463 100644 --- a/source/blender/blenlib/intern/math_matrix.c +++ b/source/blender/blenlib/intern/math_matrix.c @@ -1306,6 +1306,7 @@ void normalize_m4_m4_ex(float rmat[4][4], float mat[4][4], float r_scale[3]) r_scale[i] = normalize_v3_v3(rmat[i], mat[i]); rmat[i][3] = (r_scale[i] != 0.0f) ? (mat[i][3] / r_scale[i]) : mat[i][3]; } + copy_v4_v4(rmat[3], mat[3]); } void normalize_m4_m4(float rmat[4][4], float mat[4][4]) { |