diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2017-07-13 19:05:20 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2017-07-13 19:05:20 +0300 |
commit | ad7f782e17201d5af894ffffdc45b07dadfea229 (patch) | |
tree | b962519aad9dc6a71d76a50e857115cf108955bf /source/blender/bmesh | |
parent | 31ad03dbdedf9361739e8b7ff3f8843f9f91db46 (diff) | |
parent | 7daae642d8406854f25b860a5faacdef4d54af1b (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_queries.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_queries.c b/source/blender/bmesh/intern/bmesh_queries.c index 5e8ae696db2..668fb998254 100644 --- a/source/blender/bmesh/intern/bmesh_queries.c +++ b/source/blender/bmesh/intern/bmesh_queries.c @@ -1514,7 +1514,7 @@ float BM_loop_calc_face_angle(const BMLoop *l) * \param epsilon: Value to avoid numeric errors (1e-5f works well). * \param r_normal Resulting normal */ -float BM_loop_calc_face_normal_safe_ex(const BMLoop *l, float epsilon_sq, float r_normal[3]) +float BM_loop_calc_face_normal_safe_ex(const BMLoop *l, const float epsilon_sq, float r_normal[3]) { /* Note: we cannot use result of normal_tri_v3 here to detect colinear vectors (vertex on a straight line) * from zero value, because it does not normalize both vectors before making crossproduct. |