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:30:24 +0300 |
commit | 3de81314fa61f9b123e5d10cbe4176718479be10 (patch) | |
tree | 9f0fd87211985242dafaecfbfb48eb4c5b782f16 /source/blender | |
parent | 83d6b73e96b5bccc3da3bbafa5ccda3fb7165651 (diff) |
Error in last commit
Diffstat (limited to 'source/blender')
-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 67754672463..4bf6d162970 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]) |